Hands-On Data Warehousing with Azure Data Factory
by Christian Cote, Michelle Gutzait, Giuseppe Ciaburro
Train the model
This is the most important phase; in fact it is time to build and train our machine learning model. In this step, the machine learning begins to work with the definition of the model and the next training. The model starts to extract knowledge from the large amounts of data that we had available, and nothing has been explained so far.
Let's now split the data for the training and the test model. Training and testing the model forms the basis for further usage of the model in predictive analytics. Given a dataset of 699 rows of data, which includes the predictor and response variables, we split the dataset into a convenient ratio (say 70:30) and allocate 490 rows for training and 209 rows for testing. The rows are selected ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access