Skip to main content

MLCore::GaussianMixtureOperation::Impl

MLCore::GaussianMixtureOperation::Impl

Public Functions

Name
mlpack::GMM toMlpackGMM() const
Reconstruct an mlpack::GMM from stored parameters.

Public Attributes

Name
std::vector< arma::vec > means
Fitted component means (one vector per component).
std::vector< arma::mat > covariances
Fitted component covariance matrices (one matrix per component).
arma::vec weights
Fitted component weights (mixing coefficients, sum to 1).
std::size_t num_components
std::size_t num_features
bool trained

Public Functions Documentation

function toMlpackGMM

inline mlpack::GMM toMlpackGMM() const

Reconstruct an mlpack::GMM from stored parameters.

Public Attributes Documentation

variable means

std::vector< arma::vec > means;

Fitted component means (one vector per component).

variable covariances

std::vector< arma::mat > covariances;

Fitted component covariance matrices (one matrix per component).

variable weights

arma::vec weights;

Fitted component weights (mixing coefficients, sum to 1).

variable num_components

std::size_t num_components = 0;

variable num_features

std::size_t num_features = 0;

variable trained

bool trained = false;

Updated on 2026-11-13 at 20:25:42 +0000