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.

...

  • features and noOfClusters cannot be empty.
  • noOfClusters should be greater than zero.

Sample output

Code Block
languagetext
[
{"features":[50.0],"cluster":1},
{"features":[31.0],"cluster":0},
{"features":[32.0],"cluster":0},
{"features":[21.0],"cluster":0},
{"features":[33.0],"cluster":0},
{"features":[30.0],"cluster":0},
{"features":[26.0],"cluster":0},
{"features":[29.0],"cluster":0},
{"features":[53.0],"cluster":1},
{"features":[54.0],"cluster":1}
]

REST API response

HTTP status code

200

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