Commands model:naive_bayes/train¶
[ALPHA] Build a naive bayes model.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:naive_bayes/train |
---|---|
arguments: | model : Model
frame : Frame
label_column : unicode
observation_columns : list
lambda_parameter : float64 (default=1.0)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
Train a NaiveBayesModel using the observation column, label column of the train frame and an optional lambda value.
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.