pub struct DirichletProcessGaussianMixtureTrained {
pub weights: Array1<f64>,
pub means: Array2<f64>,
pub covariances: Vec<Array2<f64>>,
pub weight_concentration: Array1<f64>,
pub lower_bound: f64,
pub n_iter: usize,
pub converged: bool,
pub n_components: usize,
pub n_features: usize,
pub covariance_type: CovarianceType,
pub alpha: f64,
pub reg_covar: f64,
}Expand description
Trained Dirichlet Process Gaussian Mixture Model
Fields§
§weights: Array1<f64>Effective mixture weights
means: Array2<f64>Component means
covariances: Vec<Array2<f64>>Component covariances
weight_concentration: Array1<f64>Variational parameters for stick-breaking weights
lower_bound: f64Lower bound on log-likelihood
n_iter: usizeNumber of iterations performed
converged: boolWhether the algorithm converged
n_components: usizeNumber of effective components
n_features: usizeNumber of features
covariance_type: CovarianceTypeCovariance type
alpha: f64Concentration parameter
reg_covar: f64Regularization parameter
Trait Implementations§
Source§impl Clone for DirichletProcessGaussianMixtureTrained
impl Clone for DirichletProcessGaussianMixtureTrained
Source§fn clone(&self) -> DirichletProcessGaussianMixtureTrained
fn clone(&self) -> DirichletProcessGaussianMixtureTrained
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DirichletProcessGaussianMixtureTrained
impl RefUnwindSafe for DirichletProcessGaussianMixtureTrained
impl Send for DirichletProcessGaussianMixtureTrained
impl Sync for DirichletProcessGaussianMixtureTrained
impl Unpin for DirichletProcessGaussianMixtureTrained
impl UnwindSafe for DirichletProcessGaussianMixtureTrained
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> 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