pub struct BootstrapSelector { /* private fields */ }Expand description
Bootstrap-based component stability assessment
Implementations§
Source§impl BootstrapSelector
impl BootstrapSelector
Sourcepub fn new(method: BootstrapMethod) -> Self
pub fn new(method: BootstrapMethod) -> Self
Create a new bootstrap selector
Sourcepub fn config(self, config: ComponentSelectionConfig) -> Self
pub fn config(self, config: ComponentSelectionConfig) -> Self
Set configuration
Sourcepub fn n_bootstrap(self, n_bootstrap: usize) -> Self
pub fn n_bootstrap(self, n_bootstrap: usize) -> Self
Set number of bootstrap samples
Sourcepub fn assess_stability(
&self,
data: &Array2<Float>,
n_components: usize,
) -> Result<StabilityResult>
pub fn assess_stability( &self, data: &Array2<Float>, n_components: usize, ) -> Result<StabilityResult>
Assess component stability using bootstrap resampling
Auto Trait Implementations§
impl Freeze for BootstrapSelector
impl RefUnwindSafe for BootstrapSelector
impl Send for BootstrapSelector
impl Sync for BootstrapSelector
impl Unpin for BootstrapSelector
impl UnsafeUnpin for BootstrapSelector
impl UnwindSafe for BootstrapSelector
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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