facebook/Ax

`AxClient.get_best_trial(...)` does not account for `optimization_config` parameter

Closed this issue · 2 comments

Steps:

  • Complete a multi-objective experiment with Service API.
  • To get best predicted value for a single objective, create a new OptimizationConfig with the objective and pass it to AxClient.get_best_trial.

Expected:

The call returns best parameterization and predictions.

Observed:

An exception is raised from the implementation method '_get_best_trial`.

"Please use `get_pareto_optimal_parameters` for multi-objective "

since AxClient.get_best_trial(...) doesn't pass optimization_config parameter value to implementation

def get_best_trial(

I've noticed similar issue for

def get_pareto_optimal_parameters(

Hi @vassilyl could you provide the full repro for where you create a new OptimizationConfig? I'm curious if maybe the optimization config isn't being saved to the experiment.

Closing as no further engagement - please feel free to re-open if needed @vassilyl :)