Commands model:naive_bayes/predict¶
[ALPHA] Predict labels for data points using trained Naive Bayes model.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:naive_bayes/predict |
---|---|
arguments: | model : Model
frame : Frame
observation_columns : list (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
- Predict the labels for a test frame using trained Naive Bayes model,
- and create a new frame revision with existing columns and a new predicted label’s column.
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.