Model Registration with MLflow

Concevoir des pipelines de prévision pour la production

Rami Krispin

Senior Manager, Data Science and Engineering

Launching the MLflow UI

mlflow ui

Terminal output displaying that the MLflow server has started from port 5000

Concevoir des pipelines de prévision pour la production

Launching the MLflow UI

Concevoir des pipelines de prévision pour la production

Analyze the backtesting results

MLflow UI

Concevoir des pipelines de prévision pour la production

Analyze the backtesting results

MLflow UI - Experiments section highlighted, with options of Default and ml_forecast

Concevoir des pipelines de prévision pour la production

Analyze the backtesting results

MLFlow UI with run names highlighted

Concevoir des pipelines de prévision pour la production

Analyze the backtesting results

MLFlow UI with Group By option highlighted

Concevoir des pipelines de prévision pour la production

Analyze the backtesting results

MLFlow UI with runs listed

Concevoir des pipelines de prévision pour la production

Analyze the backtesting results

MLFlow UI with graphs displaying performance of each model by RMSE, MAPE, and Coverage

Concevoir des pipelines de prévision pour la production

Analyze the backtesting results

MLFlow UI showing box plots with model RMSE score distributions

Concevoir des pipelines de prévision pour la production

Can we improve the performance?

Model evaluation

  • Benchmark
  • Residuals analysis
  • Backtesting analysis

 

Potential improvements

  • Different models
  • New features
  • Tuning parameters

MLFlow UI showing box plots with model RMSE score distributions

Concevoir des pipelines de prévision pour la production

Can we improve the performance?

Model optimization

  • Benchmark
  • Residuals analysis
  • Backtesting analysis

 

Potential improvements

  • Different models
  • New features
  • Tuning parameters

MLFlow UI showing box plots with model RMSE score distributions - LightGBM highlighted

Concevoir des pipelines de prévision pour la production

Tuning parameters

lightGBM hyperparameters used

Concevoir des pipelines de prévision pour la production

Tuning parameters

lightGBM hyperparameters used with learning_rate and n_estimates highlighted

Concevoir des pipelines de prévision pour la production

Hypothesis

  • Using lower learning rate
  • Training with more trees
 ml_models2 = {
    "lightGBM1": LGBMRegressor(n_estimators = 100, learning_rate= 0.1),
    "lightGBM2": LGBMRegressor(n_estimators = 250, learning_rate= 0.1),
    "lightGBM3": LGBMRegressor(n_estimators = 500, learning_rate= 0.1),
    "lightGBM4": LGBMRegressor(n_estimators = 100, learning_rate= 0.05),
    "lightGBM5": LGBMRegressor(n_estimators = 250, learning_rate= 0.05),
    "lightGBM6": LGBMRegressor(n_estimators = 500, learning_rate= 0.05),
}
Concevoir des pipelines de prévision pour la production

Analyzing the results

MLFlow UI showing performance of the models with different hyperparameters

Concevoir des pipelines de prévision pour la production

Experimentation constraints

Experimentation and Deployment lifecycle covering train, test, evaluate, deploy, monitor, re-tune, and repeat

Concevoir des pipelines de prévision pour la production

Let's practice!

Concevoir des pipelines de prévision pour la production

Preparing Video For Download...