pub struct RandomFourierFeatures;Expand description
Random Fourier Features approximation method RandomFourierFeatures
Trait Implementations§
Source§impl ApproximationMethod for RandomFourierFeatures
impl ApproximationMethod for RandomFourierFeatures
Source§const SUPPORTS_INCREMENTAL: bool = true
const SUPPORTS_INCREMENTAL: bool = true
Whether this method supports incremental updates
Source§const HAS_ERROR_BOUNDS: bool = true
const HAS_ERROR_BOUNDS: bool = true
Whether this method provides theoretical error bounds
Source§const COMPLEXITY: ComplexityClass = ComplexityClass::Linear
const COMPLEXITY: ComplexityClass = ComplexityClass::Linear
Computational complexity class
Source§impl ApproximationQualityBounds<RandomFourierFeatures> for ()
impl ApproximationQualityBounds<RandomFourierFeatures> for ()
Source§const ERROR_BOUND_CONSTANT: f64 = 2f64
const ERROR_BOUND_CONSTANT: f64 = 2f64
Theoretical error bound for this method
Source§const SAMPLE_COMPLEXITY_EXPONENT: f64 = 0.25f64
const SAMPLE_COMPLEXITY_EXPONENT: f64 = 0.25f64
Sample complexity scaling
Source§const DIMENSION_DEPENDENCY: f64 = 0.10000000000000001f64
const DIMENSION_DEPENDENCY: f64 = 0.10000000000000001f64
Dimension dependency
Source§impl Clone for RandomFourierFeatures
impl Clone for RandomFourierFeatures
Source§fn clone(&self) -> RandomFourierFeatures
fn clone(&self) -> RandomFourierFeatures
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 Debug for RandomFourierFeatures
impl Debug for RandomFourierFeatures
Source§impl KernelMethodCompatibility<ArcCosineKernel, RandomFourierFeatures> for ()
Arc-cosine kernels have limited compatibility
impl KernelMethodCompatibility<ArcCosineKernel, RandomFourierFeatures> for ()
Arc-cosine kernels have limited compatibility
Source§const IS_COMPATIBLE: bool = true
const IS_COMPATIBLE: bool = true
Whether this kernel-method combination is supported
Source§const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Acceptable
const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Acceptable
Performance characteristics of this combination
Source§const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
Memory complexity
Source§impl KernelMethodCompatibility<LaplacianKernel, RandomFourierFeatures> for ()
impl KernelMethodCompatibility<LaplacianKernel, 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::Optimal
const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Optimal
Performance characteristics of this combination
Source§const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
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 KernelMethodCompatibility<RBFKernel, RandomFourierFeatures> for ()
Implement compatibility rules
impl KernelMethodCompatibility<RBFKernel, RandomFourierFeatures> for ()
Implement compatibility rules
Source§const IS_COMPATIBLE: bool = true
const IS_COMPATIBLE: bool = true
Whether this kernel-method combination is supported
Source§const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Optimal
const PERFORMANCE_TIER: PerformanceTier = PerformanceTier::Optimal
Performance characteristics of this combination
Source§const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
const MEMORY_COMPLEXITY: ComplexityClass = ComplexityClass::Linear
Memory complexity
impl Copy for RandomFourierFeatures
impl FittableKernel<RandomFourierFeatures> for LaplacianKernel
impl FittableKernel<RandomFourierFeatures> for RBFKernel
impl FittableMethod<LaplacianKernel> for RandomFourierFeatures
impl FittableMethod<RBFKernel> for RandomFourierFeatures
Auto Trait Implementations§
impl Freeze for RandomFourierFeatures
impl RefUnwindSafe for RandomFourierFeatures
impl Send for RandomFourierFeatures
impl Sync for RandomFourierFeatures
impl Unpin for RandomFourierFeatures
impl UnwindSafe for RandomFourierFeatures
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