Commands model:arx/train¶
[ALPHA] Creates AutoregressionX (ARX) Model from train frame.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | model:arx/train |
---|---|
arguments: | model : Model
frame : Frame
timeseries_column : unicode
x_columns : list
y_max_lag : int32
x_max_lag : int32
no_intercept : bool (default=False)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
Fit an autoregressive model with additional exogenous variables.
Notes
- Dataset being trained must be small enough to be worked with on a single node.
- If the specified set of exogenous variables is not invertible, an exception is thrown stating that the “matrix is singular”. This happens when there are certain patterns in the dataset or columns of all zeros. In order to work around the singular matrix issue, try selecting a different set of columns for exogenous variables, or use a different time window for training.
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
A dictionary with trained ARX model with the following keys:
c : float64intercept term, or zero for no interceptcoefficients : listcoefficients for each column of exogenous input.