pub struct KernelPresets;Expand description
Configuration presets for common kernel approximation scenarios
Implementations§
Source§impl KernelPresets
impl KernelPresets
Sourcepub fn fast_rbf_128() -> ValidatedRBFRandomFourier<128>
pub fn fast_rbf_128() -> ValidatedRBFRandomFourier<128>
Fast approximation preset - prioritizes speed over accuracy
Sourcepub fn balanced_rbf_256() -> ValidatedRBFRandomFourier<256>
pub fn balanced_rbf_256() -> ValidatedRBFRandomFourier<256>
Balanced approximation preset - good trade-off between speed and accuracy
Sourcepub fn accurate_rbf_512() -> ValidatedRBFRandomFourier<512>
pub fn accurate_rbf_512() -> ValidatedRBFRandomFourier<512>
High-accuracy approximation preset - prioritizes accuracy over speed
Sourcepub fn ultrafast_rbf_64() -> ValidatedRBFRandomFourier<64>
pub fn ultrafast_rbf_64() -> ValidatedRBFRandomFourier<64>
Ultra-fast approximation for large-scale problems
Sourcepub fn precise_nystroem_128() -> ValidatedLaplacianNystrom<128>
pub fn precise_nystroem_128() -> ValidatedLaplacianNystrom<128>
High-precision Nyström preset for small to medium datasets
Sourcepub fn memory_efficient_rbf_32() -> ValidatedRBFRandomFourier<32>
pub fn memory_efficient_rbf_32() -> ValidatedRBFRandomFourier<32>
Memory-efficient preset for resource-constrained environments
Sourcepub fn polynomial_features_256() -> ValidatedPolynomialRFF<256>
pub fn polynomial_features_256() -> ValidatedPolynomialRFF<256>
Polynomial kernel preset for structured data
Auto Trait Implementations§
impl Freeze for KernelPresets
impl RefUnwindSafe for KernelPresets
impl Send for KernelPresets
impl Sync for KernelPresets
impl Unpin for KernelPresets
impl UnwindSafe for KernelPresets
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> 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