1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to MLflow

Connected

Exercise

Creating an MLproject for the ML Lifecycle: Model Engineering

The MLproject file can include more than one entry point. This means that you can use a single MLproject file to execute multiple entry points, making it possible to execute a workflow of multiple steps using a single MLproject file.

In this exercise you are going to build the beginning of an MLproject file that contains the model_engineering entry point. This entry point will execute a python script that accepts parameters used as hyperparameter values for fit_intercept and n_jobs to a Logistic Regression model. This model is used to predict sex of person from an insurance claim.

Instructions

100 XP
  • Create an entry point for the Model Engineering step of the ML lifecycle called model_engineering.
  • Set the first entry point parameter to n_jobs and and second to fit_intercept.
  • Place the parameters within the command.