DaalLinearRegressionModel predict


predict(self, frame, value_column=None, observation_columns=None)

[BETA] Predict labels for a test frame using trained Intel DAAL linear regression model.

Parameters:

frame : Frame

The frame to predict on

value_column : unicode (default=None)

Column name containing the value of each observation

observation_columns : list (default=None)

List of column(s) containing the observations

Returns:

: Frame

frame:

Frame containing the original frame’s columns and a column with the predicted value.

Predict the labels for a test frame and create a new frame revision with existing columns and a new predicted value column.

Examples

See here for examples.