Commands model:random_forest_regressor/train¶
[ALPHA] Build Random Forests Regressor model.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:random_forest_regressor/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
num_trees : int32 (default=1)
impurity : unicode (default=variance)
max_depth : int32 (default=4)
max_bins : int32 (default=100)
seed : int32 (default=2145878081)
categorical_features_info : None (default=None)
feature_subset_category : unicode (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
Creating a Random Forests Regressor Model using the observation columns and label column.
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
dict
Values of the Random Forest Classifier model object storing:
the list of observation columns on which the model was trained,the column name containing the labels of the observations,the number of decision trees in the random forest,the number of nodes in the random forest,the map storing arity of categorical features,the criterion used for information gain calculation,the maximum depth of the tree,the maximum number of bins used for splitting features,the random seed used for bootstrapping and choosing feature subset.