pub struct AdaptiveDecomposition { /* private fields */ }Expand description
Adaptive decomposition method that can switch between algorithms
Implementations§
Source§impl AdaptiveDecomposition
impl AdaptiveDecomposition
Sourcepub fn partial_fit(&mut self, sample: &Array1<Float>) -> Result<()>
pub fn partial_fit(&mut self, sample: &Array1<Float>) -> Result<()>
Update with new data sample
Sourcepub fn active_algorithm(&self) -> &str
pub fn active_algorithm(&self) -> &str
Get the active algorithm name
Sourcepub fn average_reconstruction_error(&self) -> Float
pub fn average_reconstruction_error(&self) -> Float
Get average reconstruction error
Trait Implementations§
Source§impl Clone for AdaptiveDecomposition
impl Clone for AdaptiveDecomposition
Auto Trait Implementations§
impl Freeze for AdaptiveDecomposition
impl RefUnwindSafe for AdaptiveDecomposition
impl Send for AdaptiveDecomposition
impl Sync for AdaptiveDecomposition
impl Unpin for AdaptiveDecomposition
impl UnsafeUnpin for AdaptiveDecomposition
impl UnwindSafe for AdaptiveDecomposition
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> 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