This documentation is for Machine Learner 1.0.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

Overview

DescriptionRetrieve configurations of an analysis.
Resource Path

/api/analyses/{analysisId}/configs

HTTP MethodGET
Request/Response Formatapplication/json

Parameter description

Parameter
Description
{analysisId}ID of the analysis of which you need to retrieve the configurations.

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/analyses/1/configs -k

Example

GET https://localhost:9443/api/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.

  • No labels