Table Of Contents

Commands model:libsvm/new

[ALPHA] Create a ‘new’ instance of a Support Vector Machine model.

POST /v1/commands/

GET /v1/commands/:id

Request

Route

POST /v1/commands/

Body

name:

model:libsvm/new

arguments:

dummy_model_ref : Model

<Missing Description>

name : unicode (default=None)

User supplied name.


Headers

Authorization: test_api_key_1
Content-type: application/json

Description

Support Vector Machine [1] is a supervised algorithm used to perform binary classification. A support vector machine constructs a high dimensional hyperplane which is said to achieve a good separation when a hyperplane has the largest distance to the nearest training-data point of any class. This model runs the LIBSVM [2] [3] implementation of SVM. The LIBSVM model is initialized, trained on columns of a frame, used to predict the labels of observations in a frame and used to test the predicted labels against the true labels. During testing, labels of the observations are predicted and tested against the true labels using built-in binary Classification Metrics.

[1]https://en.wikipedia.org/wiki/Support_vector_machine
[2]https://www.csie.ntu.edu.tw/~cjlin/libsvm/
[3]https://en.wikipedia.org/wiki/LIBSVM

Response

Status

200 OK

Body

Returns information about the command. See the Response Body for Get Command here below. It is the same.

GET /v1/commands/:id

Request

Route

GET /v1/commands/18

Body

(None)

Headers

Authorization: test_api_key_1
Content-type: application/json

Response

Status

200 OK

Body

Model

A new instance of LibsvmModel