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 summarized features of an analysis.
Resource Path

/api/analyses/{analysisId}/summarizedFeatures

HTTP MethodGET
Request/Response Formatapplication/json

Parameter description

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

Sample cURL command

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

Example

GET https://localhost:9443/api/analyses/{analysisId}/summarizedFeatures

Sample output

[
{
"input":true,
"summaryStats":"[{\"missing\":0,\"median\":\"29\",\"values\":[[\"0\",219],[\"1\",113],[\"2\",85],[\"3\",57],[\"4\",40],[\"5\",47],[\"6\",53],[\"7\",36],[\"8\",24],[\"9\",21],[\"10\",19],[\"11\",12],[\"12\",15],[\"13\",10],[\"14\",8],[\"15\",6],[\"16\",2],[\"17\",0],[\"18\",0],[\"19\",1]],\"unique\":52,\"std\":\"11.76\",\"mean\":\"33.241\",\"skewness\":\"1.13\",\"bar\":true,\"key\":\"Frequency\"}]",
"imputeOperation":"DISCARD",
"type":"NUMERICAL",
"index":7,
"fieldName":"Age"
},
{
"input":true,
"summaryStats":"[{\"missing\":0,\"median\":\"32\",\"values\":[[\"0\",11],[\"1\",0],[\"2\",0],[\"3\",0],[\"4\",0],[\"5\",15],[\"6\",47],[\"7\",109],[\"8\",130],[\"9\",138],[\"10\",140],[\"11\",84],[\"12\",50],[\"13\",28],[\"14\",8],[\"15\",4],[\"16\",1],[\"17\",2],[\"18\",0],[\"19\",1]],\"unique\":248,\"std\":\"7.884\",\"mean\":\"31.993\",\"skewness\":\"-0.429\",\"bar\":true,\"key\":\"Frequency\"}]",
"imputeOperation":"DISCARD",
"type":"NUMERICAL",
"index":5,
"fieldName":"BMI"
}
]

REST API response

HTTP status code

200, 404 or 500

For descriptions of the HTTP status codes, see HTTP Status Codes.

  • No labels