Models DaalLinearRegressionModel


class DaalLinearRegressionModel

Entity DaalLinearRegressionModel

Attributes

last_read_date Read-only property - Last time this model’s data was accessed.
name Set or get the name of the model object.
status Read-only property - Current model life cycle status.

Methods

__init__(self[, name, _info]) [ALPHA] Create a ‘new’ instance of a Linear Regression model.
predict(self, frame, feature_columns, label_columns) [ALPHA] Make new frame with column for label prediction.
train(self, frame, feature_columns, label_columns) [ALPHA] Build linear regression model.
__init__(self, name=None)

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

Parameters:

name : unicode (default=None)

User supplied name.

Returns:

: Model

A new instance of LinearRegressionModel

Linear Regression [R3] 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 [R4] with QR [R5] decomposition.

footnotes

[R3]https://en.wikipedia.org/wiki/Linear_regression
[R4]https://software.intel.com/en-us/daal
[R5]https://en.wikipedia.org/wiki/QR_decomposition