get-best-run
Find the run achieving the optimal metric value in your MLflow experiment. Specify the metric and whether to maximize or minimize.
Instructions
Find the run with the best (max/min) value of a metric in an experiment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| experimentId | No | Experiment ID (defaults to MLFLOW_EXPERIMENT_ID) | |
| metric | Yes | Metric key to optimize on (e.g. 'accuracy', 'loss') | |
| ascending | No | True to minimize (e.g. loss); default maximizes | |
| filter | No | Additional filter on top of metric ordering |