This API is used to early stop a trial of an auto search job.
POST /v2/{project_id}/training-jobs/{training_job_id}/autosearch-trial-earlystop/{trial_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
training_job_id |
Yes |
String |
ID of a training job. |
trial_id |
Yes |
String |
trial_id for hyperparameter search. |
None
Status code: 200
Parameter |
Type |
Description |
---|---|---|
earlystop_trial |
String |
trial_id of the trial that is early stopped. |
The following shows how to early stop the trial whose trial_id is 50093e6c using the job whose training_job_id is e346206c-6fde-4c33-9dcd-55be17858ceb as an example.
POST https://endpoint/v2/{project_id}/training-jobs/e346206c-6fde-4c33-9dcd-55be17858ceb/autosearch-trial-earlystop/50093e6c
Status code: 200
ok
{ "earlystop_trial" : "50093e6c" }
Status Code |
Description |
---|---|
200 |
ok |
See Error Codes.