freeze_scaling

freeze_scaling(x_mean, x_std)

Fixes the input scaling so that fit reuses it instead of recomputing it.

Parameters

Name Type Description Default
x_mean np.ndarray Per-input mean to subtract, shape (n_features,). required
x_std np.ndarray Per-input standard deviation to divide by, shape (n_features,). required

Returns

Name Type Description
ScaledGaussianProcessRegressor ScaledGaussianProcessRegressor self, for chaining.