1. Learn
  2. /
  3. Courses
  4. /
  5. Monitoring Machine Learning in Python

Connected

Exercise

Creating reference and analysis set

After your data is split into train, test, and production sets, you can build and deploy your model. The testing and production data will later be used to create the reference and analysis set.

In this exercise, you will go through this process. You have all of your X_train/test/prod, and y_train/test/prod datasets created in the previous exercise already loaded here.

For this exercise, pandas has been imported as pd and is ready for use.

Instructions 1/2

undefined XP
    1
    2
  • Train the model using fit method and pass X_train and y_train sets.
  • Make predictions on train and test sets.
  • Deploy the model by making predictions for production data.