Help Center/ ModelArts/ API Reference/ Training Management/ Obtaining the Hyperparameter Sensitivity Analysis Result
Updated on 2026-07-24 GMT+08:00

Obtaining the Hyperparameter Sensitivity Analysis Result

Function

This API is used to query the hyperparameter sensitivity analysis result of a specified hyperparameter search job.

This API is used when you need to know the impact of each hyperparameter on the model performance in a hyperparameter search job. Before using this API, ensure that the hyperparameter search job exists and you have the required permission. After the query is complete, the API returns the hyperparameter sensitivity analysis result. If the hyperparameter search job does not exist or you do not have the required permission, the API will return an error message.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    modelarts:trainJob:get

    Read

    trainJob *

    g:ResourceTag/<tag-key>

    -

    -

    -

    • modelarts:poolType

    • modelarts:poolId

URI

GET /v2/{project_id}/training-jobs/{training_job_id}/autosearch-parameter-analysis

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition: Project ID. For details, see Obtaining a Project ID and Name.

Constraints: N/A

Range: The value can contain 1 to 64 characters. Only letters, digits, and hyphens (-) are allowed.

Default Value: N/A

training_job_id

Yes

String

Definition: Training job ID. For details, see Obtaining Training Jobs.

Constraints: N/A

Range: N/A

Default Value: N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

header

Array of strings

Definition: Field information of a trial searched using hyperparameters.

data

Array<Array<String>>

Definition: Data list of a trial searched using hyperparameters.

Example Requests

The following shows how to query the hyperparameter sensitivity analysis result of the job whose training_job_id is 04f679b17380d32a2f32c00335c4b5ba.

GET https://{endpoint}/v2/{project_id}/training-jobs/04f679b17380d32a2f32c00335c4b5ba/autosearch-parameter-analysis

Example Responses

Status code: 200

ok

{
  "header" : [ "parameters", "the mean/std of importance" ],
  "data" : [ [ "batch_size", "0.2443/0.3867" ], [ "learning_rate", "0.6992/0.4040" ] ]
}

Status Codes

Status Code

Description

200

ok

Error Codes

See Error Codes.