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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

DescriptionRetrieve the summarized statistics of an analysis.
Resource Path

api/analyses/{analysisId}/stats

HTTP MethodGET
Request/Response Formatapplication/json

Parameter description

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

Sample cURL command

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

Example

GET /api/analyses/{analysisId}/stats

Sample output

[
{
"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"
}
]

REST API response

HTTP status code

200, 404 or 500

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

  • No labels