Add helper method to get best HyperparameterTuningJob trial #1545
Labels
api: vertex-ai
Issues related to the googleapis/python-aiplatform API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Currently there's no way to get the best trial from a HyperparameterTuningJob besides inspecting each individual trial and implementing minimization or maximization (depending on the study config).
It would be nice if we had a helper method like HPTuningJob.best_trial() or HPTuningJob.best_trials(n)
Or just sorting the trials returned by trials() might be sufficient.
The text was updated successfully, but these errors were encountered: