pub struct FastIca {
pub components: Array2<f64>,
pub whitening: Array2<f64>,
pub mean: Array1<f64>,
pub n_components: usize,
pub n_iter: usize,
}Expand description
Fitted FastICA decomposition.
Fields§
§components: Array2<f64>Un-mixing matrix W of shape (n_components, d) (applied to
the centered data).
whitening: Array2<f64>Whitening matrix K of shape (n_components, d).
mean: Array1<f64>Data mean subtracted before whitening.
n_components: usizeNumber of components.
n_iter: usizeNumber of iterations run.
Implementations§
Source§impl FastIca
impl FastIca
Sourcepub fn fit(
x: ArrayView2<'_, f64>,
n_components: usize,
seed: u64,
) -> Result<Self>
pub fn fit( x: ArrayView2<'_, f64>, n_components: usize, seed: u64, ) -> Result<Self>
Fit with defaults (fun = LogCosh, max_iter = 200, tol = 1e-4).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FastIca
impl<'de> Deserialize<'de> for FastIca
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for FastIca
Auto Trait Implementations§
impl Freeze for FastIca
impl RefUnwindSafe for FastIca
impl Send for FastIca
impl Sync for FastIca
impl Unpin for FastIca
impl UnsafeUnpin for FastIca
impl UnwindSafe for FastIca
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