pub struct RobustRBFSampler { /* private fields */ }Expand description
Robust RBF kernel sampler
Implementations§
Source§impl RobustRBFSampler
impl RobustRBFSampler
Sourcepub fn with_config(self, config: RobustKernelConfig) -> Self
pub fn with_config(self, config: RobustKernelConfig) -> Self
Set robust configuration
Sourcepub fn transform(&self, x: &Array2<f64>) -> Result<Array2<f64>>
pub fn transform(&self, x: &Array2<f64>) -> Result<Array2<f64>>
Transform data using robust RBF features
Sourcepub fn get_outlier_mask(&self) -> Option<&Array1<bool>>
pub fn get_outlier_mask(&self) -> Option<&Array1<bool>>
Get outlier mask
Sourcepub fn get_robust_weights(&self) -> Option<&Array1<f64>>
pub fn get_robust_weights(&self) -> Option<&Array1<f64>>
Get robust weights
Auto Trait Implementations§
impl Freeze for RobustRBFSampler
impl RefUnwindSafe for RobustRBFSampler
impl Send for RobustRBFSampler
impl Sync for RobustRBFSampler
impl Unpin for RobustRBFSampler
impl UnwindSafe for RobustRBFSampler
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