pub struct TrainedFactorAnalysis {
pub loadings: Array2<Float>,
pub noise_variance: Array1<Float>,
pub mean: Array1<Float>,
pub n_samples_fit: usize,
pub log_likelihood: Float,
pub n_iter: usize,
}Expand description
Fitted factor analysis state stored inside FactorAnalysis<TrainedFactorAnalysis>.
Fields§
§loadings: Array2<Float>Loading matrix W — shape (n_features, n_components)
noise_variance: Array1<Float>Diagonal noise variances Ψ — shape (n_features,)
mean: Array1<Float>Per-feature training mean μ — shape (n_features,)
n_samples_fit: usizeNumber of samples seen during fit
log_likelihood: FloatFinal log-likelihood
n_iter: usizeNumber of EM iterations run
Trait Implementations§
Source§impl Clone for TrainedFactorAnalysis
impl Clone for TrainedFactorAnalysis
Source§impl Debug for TrainedFactorAnalysis
impl Debug for TrainedFactorAnalysis
Source§impl<'de> Deserialize<'de> for TrainedFactorAnalysis
impl<'de> Deserialize<'de> for TrainedFactorAnalysis
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
Auto Trait Implementations§
impl Freeze for TrainedFactorAnalysis
impl RefUnwindSafe for TrainedFactorAnalysis
impl Send for TrainedFactorAnalysis
impl Sync for TrainedFactorAnalysis
impl Unpin for TrainedFactorAnalysis
impl UnsafeUnpin for TrainedFactorAnalysis
impl UnwindSafe for TrainedFactorAnalysis
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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