This documentation is for Machine Learner 1.0.0. View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample cURL command

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

Example

Code Block
languagetext
GET https://localhost:9443/api/datasets/{dataset_id}/stats/?feature={feature_name} 

Sample output

Code Block
languagetext
[
{
"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

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