Developing Machine Learning Models for Production
Sinan Ozdemir
Data Scientist, Entrepreneur, and Author
Two types of versioning: major and minor
With major/minor versions we can see how and what data or model changes were made
Example:
Example:
import mlflow
# Start a new mlflow run
with mlflow.start_run() as run:
# Log model version as a parameter
mlflow.log_param("model_version", "1.0")
# Train and save the model
model = train_model()
mlflow.sklearn.log_model(model, "model")
Developing Machine Learning Models for Production