com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Retrieving Configurations of an Analysis via REST API v10
Overview
Description | Retrieve configurations of an analysis. |
Resource Path |
|
HTTP Method | GET |
Request/Response Format | application/json |
Parameter description
Parameter | Description |
---|---|
{analysisId} | The ID of the analysis of which the configurations need to be retrieved. |
Sample cURL command
curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/v10/analyses/1/configs -k
Example
GET https://localhost:9443/api/v10/analyses/{analysisId}/configs
Sample output
 { "responseVariable":"Class", "trainDataFraction":0.7, "hyperParameters": [ { "value":"100", "key":"Iterations", "description":null }, { "value":"0.1", "key":"Learning_Rate", "description":null }, { "value":"0.001", "key":"Reg_Parameter", "description":null }, { "value":"L2", "key":"Reg_Type", "description":null }, { "value":"1", "key":"SGD_Data_Fraction", "description":null } ], "customizedFeatures": [ { "imputeOption":"DISCARD", "include":true, "lastModifiedUser":"admin", "tenantId":-1234, "name":"Age", "type":"NUMERICAL", "userName":"admin" }, { "imputeOption":"DISCARD", "include":true, "lastModifiedUser":"admin", "tenantId":-1234, "name":"BMI", "type":"NUMERICAL", "userName":"admin" } ], "algorithmName":"LOGISTIC_REGRESSION", "id":1 }
REST API response
HTTP status code | 200, 404 or 500 For descriptions of the HTTP status codes, see HTTP Status Codes. |