Trial Evaluation
There are 3 paradigms for evaluating trials in Ax. Note: ensure that you are using the appropriate type of trials for your experiment, before proceeding to trial evaluation.
[RECOMMENDED] Service API
The Service API AxClient
exposes
get_next_trial
,
as well as
complete_trial
.
The user is responsible for evaluating the trial parameters and passing the
results to
complete_trial
.
...
for i in range(25):
parameters, trial_index = ax_client.get_next_trial()
raw_data = evaluate_trial(parameters)
ax_client.complete_trial(trial_index=trial_index, raw_data=raw_data)