Commands model:daal_k_means/new¶
[BETA] Create a ‘new’ instance of a DAAL k-means model.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:daal_k_means/new |
---|---|
arguments: | dummy_model_ref : Model
name : unicode (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
k-means [1] is an unsupervised algorithm used to partition the data into ‘k’ clusters. Each observation can belong to only one cluster, the cluster with the nearest mean. The k-means model is initialized, trained on columns of a frame, and used to predict cluster assignments for a frame.
This model runs the DAAL implementation of k-means[2]_. The K-Means clustering algorithm computes centroids using the Lloyd method[3]_
footnotes
[1] | https://en.wikipedia.org/wiki/K-means_clustering |
[2] | https://software.intel.com/en-us/daal |
[3] | https://en.wikipedia.org/wiki/Lloyd%27s_algorithm |
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.