Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Tracking Experiments with MLflow

Which Attempt Produced This Model File?

The scheduled pump workflow can now prepare a dataset and run a calculation. Suppose we try a different model setting and save another file named model.json. A note says the latest error was lower. Which file belongs to that measurement, and which version of the readings did it use?

A useful experiment record keeps that information together. MLflow is an open-source platform with tools for tracking model development. Its tracking service records attempts and their settings, measurements and saved outputs. Databricks provides a managed integration, while MLflow can also be used elsewhere.

We will start by recording an attempt accurately. Choosing the best model is a later question. A lower number cannot tell us much if we have already mixed one attempt’s score with another attempt’s model file.

The manifest is a small local teaching schema. It does not call MLflow, upload artifacts, train a model or establish that a recorded score is a fair comparison.

Step 1 of 1

One Attempt, Several Kinds of Evidence

The run ID connects these records without making their meanings interchangeable.

  1. Run identity

    Example
    attempt-a
    What it tells us
    Which execution we are describing
  2. Parameter

    Example
    limit = 10
    What it tells us
    A setting supplied to the procedure
  3. Metric

    Example
    mae = 2.5
    What it tells us
    A numerical measurement made during that attempt
  4. Input identity

    Example
    maintenance.prepared.readings, version 4
    What it tells us
    Which declared dataset the attempt used
  5. Artifact

    Example
    model.json owned by attempt-a
    What it tells us
    A saved output associated with this attempt
These invented records use a small local schema. They are not the JSON format of the MLflow API, and no artifact is loaded.

Experiments group related attempts

An attempt identity connects the requested metadata and output ownership. Neither filename order nor the lowest score can replace that identity.