windkit.ltc.regression.LinearRegression.predict

LinearRegression.predict(X)[source]

Predict using the model. Note that the input of this function is not validated, the validation is made in the MPCRegressor class.

Parameters:

X (array_like, shape (n_samples, 1)) – Samples.

Returns:

C – Returns predicted values.

Return type:

array, shape (n_samples,)