MLOps Academy · Lesson

Log Params, Metrics, and Artifacts

Capture hyperparameters, scores, and files per run.

Three Things to Log

Inside a run you capture three kinds of data: the parameters you chose, the metrics you measured, and the files you produced.

Log a Parameter

A parameter is an input you picked, like learning rate or tree depth. Log it once so you always know how a run was configured.

mlflow.log_param("learning_rate", 0.01)

All lessons in this course

  1. Install MLflow and Start Tracking
  2. Log Params, Metrics, and Artifacts
  3. Compare Runs in the MLflow UI
  4. Autolog with One Line of Code
← Back to MLOps Academy