pub struct DistributedNystroem { /* private fields */ }Expand description
Distributed Nyström method for kernel approximation
Implements a distributed version of the Nyström method where inducing points and eigendecomposition are computed in parallel.
Implementations§
Source§impl DistributedNystroem
impl DistributedNystroem
Sourcepub fn new(n_components: usize, gamma: f64) -> Self
pub fn new(n_components: usize, gamma: f64) -> Self
Create a new distributed Nyström approximation
Sourcepub fn with_config(self, config: DistributedConfig) -> Self
pub fn with_config(self, config: DistributedConfig) -> Self
Set the distributed computing configuration
Sourcepub fn with_random_state(self, random_state: u64) -> Self
pub fn with_random_state(self, random_state: u64) -> Self
Set random state for reproducibility
Auto Trait Implementations§
impl Freeze for DistributedNystroem
impl RefUnwindSafe for DistributedNystroem
impl Send for DistributedNystroem
impl Sync for DistributedNystroem
impl Unpin for DistributedNystroem
impl UnwindSafe for DistributedNystroem
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