Skip to content

MLflow and the Models Page

Every training node logs to MLflow. This page covers the tracking store, registering and promoting models, and the Models page. To train a model first, follow the ML Quick Start.

Choose the tracking store

ciaren init creates a local store at ./mlruns. To use another one, set the environment variable:

bash
CIAREN_MLFLOW_TRACKING_URI=http://your-mlflow:5000   # or sqlite:///./mlflow.db

or edit the built-in Local MLflow connection under Connections → Experiment tracking. The connection is the source of truth: when it exists, it overrides the environment variable. Click Test connection to check that the store is reachable, or edit its Tracking URI to point at a remote server (http://host:5000), a SQLite store (sqlite:///mlflow.db), or another folder. Every training run and the Models page read the URI from this connection, so a change applies everywhere without a restart.

Pointing Ciaren at an MLflow you already use

Ciaren logs runs under an experiment named ciaren by default and never deletes experiments or runs. Test connection only reads (it lists one experiment), and ciaren init leaves an existing mlruns folder untouched. Two actions do write into whatever store you point at, so be deliberate on a shared one:

  • Model registration adds a version under the model name you choose. Use a unique or prefixed name so you don't append a version to someone else's model.
  • Aliases (@production, @staging) are set and cleared by model name, so an alias change affects whatever model carries that name.

To keep Ciaren's runs fully separate, give it a dedicated CIAREN_MLFLOW_TRACKING_URI: its own folder or a sqlite:/// store.

Register a model

Open a finished run, select the Train Classifier (or Train Regressor) node, and click Register in registry in its Machine learning panel. Enter a Model name and, optionally, an Alias (Staging, Production or Champion). The dialog then shows the URI to paste into Predict, and the model appears on the Models page.

Use a registered model in a flow

A Predict node can reference a registered model instead of a wired one. Set its Model URI to the alias URI from the Register dialog, for example models:/churn@production, or to a specific version such as models:/churn/1. MLflow 3 uses @alias, not the old /Stage syntax. When you re-point the alias to a new version in MLflow, scheduled prediction flows pick it up with no flow edits.

Browse your models

The Models page (in the top navigation, shown only when ML is enabled) shows everything MLflow tracked:

ML Models page: registered models with version cards, key metrics, production/staging aliases, and Flow+Run lineage links

  • Registered Models: every registered model with its versions, aliases such as @production, key metrics, and links back to the Ciaren flow and run that produced each version.
  • Experiments: a leaderboard of training runs per experiment. The best value in each metric column is highlighted (RMSE and MAE count lower as better).

ML Models → Experiments tab: leaderboard of training runs ranked by metric, with the champion run highlighted by a trophy icon

Reproducibility and safety

  • Every training run records its seed, the graph snapshot and the dataset versions it read, and tags the MLflow run with back-pointers.
  • Models load only from MLflow URIs or the artifact directory, and .pkl and .pickle files are rejected. Hyperparameters are never executed as code. Joblib and MLflow models can still run Python when loaded, so load only artifacts you trust.
  • A dataset can't be deleted while a Production model was trained on it, unless you force the delete.

Next steps