Deploy the Model

To deploy the model we use the script from the Python template project.

This script contains the predict function that accepts petal length as input and uses the model built in the previous step to predict petal width.
  1. Navigate to the Iris project's Overview > Models page.
  2. Click New Model and fill out the fields. Make sure you use the Python 3 kernel. For example:

  3. Deploy the model.
  4. Click on the model to go to its Overview page. As the model builds you can track progress on the Build page.
    Once deployed, you can see the replicas deployed on the Monitoring page.
  5. To test the model, use the Test Model widget on the model's Overview page.