sklearn.gaussian_process.regression_models
.linear¶
-
sklearn.gaussian_process.regression_models.
linear
(x)[source]¶ First order polynomial (linear, p = n+1) regression model.
x –> f(x) = [ 1, x_1, ..., x_n ].T
Parameters: x : array_like
An array with shape (n_eval, n_features) giving the locations x at which the regression model should be evaluated.
Returns: f : array_like
An array with shape (n_eval, p) with the values of the regression model.