Notebooks and analyses

Open a JupyterLab notebook next to your project and run statistical analyses on a dataset.

Not every question needs a pipeline. Two tools in a project let you work more freely:

  • Notebooks give you JupyterLab, the notebook editor that data scientists know, bound to your project.
  • Analyses run classical statistical procedures on a data source (a t-test, a regression, a survival curve) without writing code, and keep the results.

Both are in the project. In the project Overview, open the Tools menu and select Notebooks or Analyses.

Notebooks

A notebook is a document that mixes code, results and notes. In mlflow, each notebook opens in its own JupyterLab session, running in a container that belongs to you.

Create a notebook

Open Notebooks

In the project, open Tools and select Notebooks. The list shows each notebook with its Name, Kernel and Modified time.

Select New notebook

Enter a name, for example exploration.ipynb, and choose the Kernel. Select Create.

Start and stop a session

Select Open on a notebook. The button shows Starting... while the session starts, and then JupyterLab appears embedded in the page. A link above it lets you open in new tab.

A session stays alive while you use it. mlflow keeps it alive with a heartbeat, and it stops by itself after a period without activity (30 minutes by default, set by your administrator). Your notebook file is stored, so you can open it again later and run it again from the top.

Notebook backend unavailable

If the page says Notebook backend unavailable, the server is running without container support, so it cannot start JupyterLab. An administrator must switch the notebook backend to Docker and restart the server. See Configuration.

Roles: any project member who can edit can create, change and start notebooks. Viewers can read the list. Sessions are personal: you list and stop your own.

Use a notebook to explore, then move what works into a pipeline. Pipelines are versioned and repeatable, and notebooks are not. Anything you want to deploy should end up in a pipeline.

Analyses

An analysis is a statistical procedure applied to a data source. It answers questions such as "do the two groups have different averages?" or "does this variable predict that one?". mlflow computes the test statistic, the p-value, an effect size and a confidence interval, draws a chart, and writes a short interpretation.

Analyses are different from the data profile. The profile describes the data. An analysis tests a hypothesis about it. See Explore a dataset for the profile.

Run an analysis

Open Analyses

In the project, open Tools and select Analyses. Under Start a new analysis, choose a family: Compare two groups, Compare many groups, Categorical association, Regression, Survival or Forecasting.

Choose the procedure and the data

In the wizard New analysis, pick the Procedure, give the analysis a name (for example height-by-treatment) and choose the Data source.

Fill in the parameters

Under Parameters, name the columns the procedure needs, for example a Grouping column and a Measure column. The fields differ by procedure.

Preview, then save

Select Preview to run it without saving, and read the result. When you are happy, select Save. The analysis is added to Saved analyses.

Open a saved analysis and select Run again to repeat it, for example after you refresh the data. The History table keeps each run with its When, Stat, p-value and Duration, so you can see how the result changes over time.

Available procedures

FamilyProceduresUse it to
Compare two groupsTwo-sample t-test, Welch's t-test, Paired t-test, Mann-Whitney UCompare the average (or the ranking) of a measure between two groups. Welch's does not assume equal variances. Mann-Whitney does not assume a normal distribution
Compare many groupsOne-way ANOVA, Kruskal-WallisCompare three or more groups
Categorical associationChi-square independenceTest whether two categorical columns are related
RegressionOLS regressionMeasure how predictors relate to a numeric response
SurvivalKaplan-Meier survival, Log-rank test, Cox proportional hazardsStudy the time until an event, with an event column (0 or 1)
ForecastingARIMA forecast, Prophet forecastProject a series forward over a horizon

A procedure that needs an optional component that is not installed on your server reports that when you run it.

Read a result

The result card shows the test statistic, the p-value, an effect size and a 95% CI when the procedure provides them, and a short plain-language interpretation. Keep three things in mind:

  • A small p-value says the data would be unusual if there were no effect. It does not say the effect is large or important. Look at the effect size.
  • A test checks one question. Running many tests on the same data makes some of them look significant by chance.
  • Check the assumptions of the procedure. For example, a t-test assumes roughly normal data in each group.

Where results are stored

  • A notebook is stored as a file with your project. Its session container is temporary, so save your work in the notebook, not only in memory.
  • A saved analysis keeps its name, the procedure, the parameters and the data source. Every run of it is stored with its result and chart, and the history stays until you delete the analysis.
  • A preview is not stored.

Analyses read a data source that is a CSV upload, or any other source of the workspace. For a database source, running an analysis runs the query again, so it needs the same role as running queries against connections.

Next steps

Learn the theory

Lessons on learning.mlflow.es that explain the ideas behind this page.

Updated 2026-11-22