soogo.model.rbf_kernel module
Radial Basis Kernel Functions.
- class soogo.model.rbf_kernel.CubicRadialBasisFunction
Bases:
RadialBasisFunction
- __call__(r)
Call self as a function.
- grad_over_r(r)
Gradient of the radial function.
- static polynomial_tail_order() int
Return the order of the polynomial tail.
- Return type:
int
- Returns:
Order of the polynomial tail, or -1 if no polynomial tail is present.
- class soogo.model.rbf_kernel.LinearRadialBasisFunction
Bases:
RadialBasisFunction
- __call__(r)
Call self as a function.
- static polynomial_tail_order() int
Return the order of the polynomial tail.
- Return type:
int
- Returns:
Order of the polynomial tail, or -1 if no polynomial tail is present.
- class soogo.model.rbf_kernel.RadialBasisFunction
Bases:
ABC
Base class for radial basis functions used in RBF models.
- abstractmethod __call__(r)
Call self as a function.
- grad(r)
Gradient of the radial function.
- grad_over_r(r)
Gradient of the radial function.
- hess(r)
Hessian of the radial function.
- static polynomial_tail_order() int
Return the order of the polynomial tail.
- Return type:
int
- Returns:
Order of the polynomial tail, or -1 if no polynomial tail is present.
- class soogo.model.rbf_kernel.ThinPlateRadialBasisFunction(safe_r=2.2250738585072014e-308)
Bases:
RadialBasisFunction
- __call__(r)
Call self as a function.
- grad_over_r(r)
Gradient of the radial function.
- static polynomial_tail_order() int
Return the order of the polynomial tail.
- Return type:
int
- Returns:
Order of the polynomial tail, or -1 if no polynomial tail is present.