athena.utils.CrossValidation.fit¶
-
CrossValidation.
fit
(inputs, gradients, outputs)[source]¶ Uses Gaussian process regression to build the response surface as a side effect. The dimension of the response surface is specified in the attribute self.ss.dim.
- Parameters
inputs (numpy.ndarray) – n_samples-by-input_dim input matrix.
outputs (numpy.ndarray) – n_sample-by-output_dim output matrix.
gradients (numpy.ndarray) – n_samples-by-output_dim-by-input_dim gradients matrix.