Package | Description |
---|---|
org.mlflow.tracking |
MLflow Tracking provides a Java CRUD interface to MLflow Experiments and Runs --
to create and log to MLflow runs, use the
MlflowContext interface. |
Modifier and Type | Method and Description |
---|---|
ActiveRun |
MlflowContext.startRun()
Starts a MLflow run without a name.
|
ActiveRun |
MlflowContext.startRun(String runName)
Starts a MLflow run.
|
ActiveRun |
MlflowContext.startRun(String runName,
String parentRunId)
Like
MlflowContext.startRun(String) but sets the mlflow.parentRunId tag in order to create
nested runs. |
Modifier and Type | Method and Description |
---|---|
void |
MlflowContext.withActiveRun(Consumer<ActiveRun> activeRunFunction)
Like
MlflowContext.startRun(String) but will terminate the run after the activeRunFunction is
executed. |
void |
MlflowContext.withActiveRun(String runName,
Consumer<ActiveRun> activeRunFunction)
Like
MlflowContext.withActiveRun(Consumer) with an explicity run name. |
Copyright © 2021. All rights reserved.