pub struct PolynomialKernel;Expand description
Polynomial kernel type PolynomialKernel
Trait Implementations§
Source§impl Clone for PolynomialKernel
impl Clone for PolynomialKernel
Source§fn clone(&self) -> PolynomialKernel
fn clone(&self) -> PolynomialKernel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposableKernel for PolynomialKernel
impl ComposableKernel for PolynomialKernel
type CompositionResult<Other: ComposableKernel> = ProductKernel<PolynomialKernel, Other>
Source§fn compose<Other: ComposableKernel>(self) -> Self::CompositionResult<Other>
fn compose<Other: ComposableKernel>(self) -> Self::CompositionResult<Other>
Combine this kernel with another kernel
Source§impl Debug for PolynomialKernel
impl Debug for PolynomialKernel
Source§impl KernelMethodCompatibility<PolynomialKernel, NystromMethod> for ()
impl KernelMethodCompatibility<PolynomialKernel, NystromMethod> for ()
Source§const IS_COMPATIBLE: bool = true
const IS_COMPATIBLE: bool = true
Whether this kernel-method combination is supported
Source§const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Good
const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Good
Performance characteristics of this combination
Source§const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Quadratic
const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Quadratic
Memory complexity
Source§impl KernelMethodCompatibility<PolynomialKernel, RandomFourierFeatures> for ()
impl KernelMethodCompatibility<PolynomialKernel, RandomFourierFeatures> for ()
Source§const IS_COMPATIBLE: bool = true
const IS_COMPATIBLE: bool = true
Whether this kernel-method combination is supported
Source§const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Good
const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Good
Performance characteristics of this combination
Source§const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
Memory complexity
Source§impl KernelType for PolynomialKernel
impl KernelType for PolynomialKernel
impl Copy for PolynomialKernel
impl FittableKernel<NystromMethod> for PolynomialKernel
impl FittableMethod<PolynomialKernel> for NystromMethod
impl PolynomialKernelType for PolynomialKernel
Auto Trait Implementations§
impl Freeze for PolynomialKernel
impl RefUnwindSafe for PolynomialKernel
impl Send for PolynomialKernel
impl Sync for PolynomialKernel
impl Unpin for PolynomialKernel
impl UnwindSafe for PolynomialKernel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more