autoemulate.emulators.radial_basis_functions#

class RadialBasisFunctions(smoothing=0.0, kernel='thin_plate_spline', epsilon=1.0, degree=1)[source]#

Bases: BaseEstimator, RegressorMixin

Radial basis function Emulator.

Wraps the RBF interpolator from scipy.

fit(X, y)[source]#

Fits the emulator to the data.

Parameters:
  • X ({array-like, sparse matrix}, shape (n_samples, n_features)) – The training input samples.

  • y (array-like, shape (n_samples,) or (n_samples, n_outputs)) – The target values (real numbers).

Returns:

self – Returns self.

Return type:

object

predict(X)[source]#

Predicts the output of the emulator for a given input.

Parameters:

X ({array-like, sparse matrix}, shape (n_samples, n_features)) – The input samples.

Returns:

y – The predicted values (real numbers).

Return type:

array-like, shape (n_samples,) or (n_samples, n_outputs)

get_grid_params(search_type='random')[source]#

Returns the grid parameters of the emulator.