saealib.ThinPlateSplineKernel#
- class saealib.ThinPlateSplineKernel[ソース]#
ベースクラス:
RBFKernelThin-plate spline radial basis function kernel.
This conditionally positive definite kernel has order 1 and requires a linear polynomial term for a well-posed system.
Methods
Evaluate the thin-plate spline kernel for a radial-distance matrix. |
|
Evaluate the kernel between every row of |
|
Return a kernel whose data-dependent parameters are resolved. |
|
Validate static kernel configuration. |
Method Details
- ThinPlateSplineKernel.__init__()#
- 戻り値の型:
None
- ThinPlateSplineKernel.evaluate(r)[ソース]#
Evaluate the thin-plate spline kernel for a radial-distance matrix.
- パラメータ:
r (ndarray)
- 戻り値の型:
ndarray
- ThinPlateSplineKernel.pairwise(x1, x2)#
Evaluate the kernel between every row of
x1andx2.- パラメータ:
x1 (ndarray)
x2 (ndarray)
- 戻り値の型:
ndarray
- ThinPlateSplineKernel.resolve(train_x)#
Return a kernel whose data-dependent parameters are resolved.
Calls
validate()before returning, so a custom subclass that overridesvalidate()but notresolve()still gets its configuration checked at resolve time.- パラメータ:
train_x (ndarray)
- 戻り値の型:
Self
- ThinPlateSplineKernel.validate()#
Validate static kernel configuration.
- 戻り値の型:
None