Table Of Contents

Commands model:libsvm/score

[ALPHA] Calculate the prediction label for a single observation.

POST /v1/commands/

GET /v1/commands/:id

Request

Route

POST /v1/commands/

Body

name:

model:libsvm/score

arguments:

model : Model

<Missing Description>

vector : None

<Missing Description>


Headers

Authorization: test_api_key_1
Content-type: application/json

Description


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

float64

Predicted label.