Commands model:naive_bayes/train¶
[ALPHA] Train a Naive Bayes model.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:naive_bayes/train |
---|---|
arguments: | model : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e68702090>>
frame : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e686f3fd0>>
label_column : unicode
observation_columns : list
lambda_parameter : float64 (default=None)
|
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.