saealib.MultiquadricKernel#
- class saealib.MultiquadricKernel(*, length_scale=None)[ソース]#
ベースクラス:
RBFKernelMultiquadric radial basis function kernel.
This conditionally positive definite kernel has order 0 and requires a constant polynomial term for a well-posed system. Based on [16].
- パラメータ:
length_scale (float or None) -- Shape parameter (denoted
gammain the paper), in the same distance units as the input data.Noneresolves to the median pairwise training-point distance at fit time.
Methods
Evaluate the multiquadric kernel |
|
Evaluate the kernel between every row of |
|
Resolve |
|
Validate |
Method Details
- MultiquadricKernel.__init__(*, length_scale=None)#
- パラメータ:
length_scale (float | None)
- 戻り値の型:
None
- MultiquadricKernel.evaluate(r)[ソース]#
Evaluate the multiquadric kernel
sqrt(r**2 + length_scale**2).- パラメータ:
r (ndarray)
- 戻り値の型:
ndarray
- MultiquadricKernel.pairwise(x1, x2)#
Evaluate the kernel between every row of
x1andx2.- パラメータ:
x1 (ndarray)
x2 (ndarray)
- 戻り値の型:
ndarray