cosapp.utils.surrogate_models.nn_interpolators.rbf_interpolator¶
Define the RBFInterpolator class.
Classes
|
Compactly Supported Radial Basis Function. |
- class cosapp.utils.surrogate_models.nn_interpolators.rbf_interpolator.RBFInterpolator(training_points, training_values, num_leaves=2, num_neighbors=5, rbf_family=2)[source]¶
Bases:
NNBaseCompactly Supported Radial Basis Function.
- rbf_family¶
Specifies the order of the radial basis function to be used. <-2> uses an 11th order, <-1> uses a 9th order, and any value from <0> to <4> uses an order equal to <floor((dimensions-1)/2) + (3*comp) +1>.
- Type:
int
- N¶
The number of neighbors used for interpolation.
- Type:
int
- weights¶
Weights for each interpolation point.
- Type:
ndarray