Commands model:power_iteration_clustering/new¶
Create a ‘new’ instance of a PowerIterationClustering model.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:power_iteration_clustering/new |
---|---|
arguments: | dummy_model_ref : Model
name : unicode (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
Power Iteration Clustering [1] is a scalable and efficient algorithm for clustering vertices of a graph given pairwise similarities as edge properties. A Power Iteration Clustering model is initialized and the cluster assignments of the vertices can be predicted on specifying the source column, destination column and similarity column of the given frame.
footnotes
[1] | http://www.cs.cmu.edu/~wcohen/postscript/icm12010-pic-final.pdf |
[2] | https://spark.apache.org/docs/1.5.0/mllib-clustering.html#power-iteration-clustering-pic |
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.