Introduction

Experiments are a way to track your experiments.

Within mlop, experiments are the main unit of work. They are created by running a script with the mlop client.

Creating an experiment

To create an experiment, you simply start the mlop client with the .init() function.

import mlop
 
mlop.init(name="my_experiment", project="my_project")

Alternatively, to specify other parameters for the run,

mlop.init(
    dir=".",
    name="my_experiment",
    project="my_project",
    config={"lr": 0.001, "epochs": 1000},
    settings={"mode": "debug"},
)

ParameterTypeDescription
dirstrThe directory to save the experiment.
namestrThe name of the experiment.
projectstrThe project to save the experiment.
configdictThe hyperparameters/configuration for the experiment.
settingsdictThe settings for the experiment.

This will create an experiment with the name my_experiment and the project my_project. To see more about projects, check out the projects page.

On this page