Table Of Contents

Commands model:daal_linear_regression/new

[ALPHA] Create a ‘new’ instance of a Linear Regression model.

POST /v1/commands/

GET /v1/commands/:id

Request

Route

POST /v1/commands/

Body

name:

model:daal_linear_regression/new

arguments:

dummy_model_ref : Model

<Missing Description>

name : unicode (default=None)

User supplied name.


Headers

Authorization: test_api_key_1
Content-type: application/json

Description

Linear Regression [1] is used to model the relationship between a scalar dependent variable and one or more independent variables. The Linear Regression model is initialized, trained on columns of a frame and used to predict the value of the dependent variable given the independent observations of a frame. This model runs the DAAL implementation of Linear Regression [2] with QR [3] decomposition.

footnotes

[1]https://en.wikipedia.org/wiki/Linear_regression
[2]https://software.intel.com/en-us/daal
[3]https://en.wikipedia.org/wiki/QR_decomposition

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

Model

A new instance of LinearRegressionModel