Registering your trained classification model
The code to register classification models is identical to the code you used in Chapter 4, Building an AutoML Regression Solution, to register your regression model. Always register new models, as you will use them to score new data using either real-time scoring endpoints or batch execution inference pipelines depending on your use case. This will be explained in Chapter 9, Implementing a Batch Scoring Solution, and Chapter 11, Implementing a Real-Time Scoring Solution. Likewise, when registering your models, always add tags and descriptions for easier tracking:
- First, give your model a name, a description, and some tags:
description = 'Best AutoML Classification Run using Transformed Titanic Data.' tags = {'project' : "Titanic", "creator" : "your name"} model_name = 'Titanic-Transformed-Classification-AutoML'
Tags let you easily search for models, so think carefully...