fit
fit(X, y)Fits the GP on standardised inputs.
Unlike GaussianProcessRegressor.fit, the inputs are first standardised with their sample mean and standard deviation (or the frozen scaling, see freeze_scaling). A constant input is given a standard deviation of 1.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| X | array - like | Training inputs in physical units, shape (n_samples, n_features). |
required |
| y | array - like | Training targets, shape (n_samples,). |
required |
Returns
| Name | Type | Description |
|---|---|---|
| ScaledGaussianProcessRegressor | The fitted model (self). |