get-best-run
Retrieve the run with the highest or lowest value of a specified metric from an experiment. Set ascending to true to minimize, false to maximize.
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 |