EM Methods |
The EM type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the memory associated with this EM model
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Predict |
Predict the probability of the samples |
![]() | ReleaseManagedResources |
Release the managed resources. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | trainE |
Estimate the Gaussian mixture parameters from a samples set. This variation starts with Expectation step. You need to provide initial means of mixture components. Optionally you can pass initial weights and covariance matrices of mixture components.
|
![]() | TrainM |
Estimate the Gaussian mixture parameters from a samples set.
This variation starts with Expectation step. Initial values of the model parameters will be estimated by the k-means algorithm.
Unlike many of the ML models, EM is an unsupervised learning algorithm and it does not take responses (class labels or function values) as input. Instead, it computes the Maximum Likelihood Estimate of the Gaussian mixture parameters from an input sample set, stores all the parameters inside the structure, and optionally computes the output "class label" for each sample.
The trained model can be used further for prediction, just like any other classifier.
|
Name | Description | |
---|---|---|
![]() | Clear |
Clear the statistic model
(Defined by StatModelExtensions.) |
![]() | Predict |
Predicts response(s) for the provided sample(s)
(Defined by StatModelExtensions.) |
![]() | Read |
Reads algorithm parameters from a file storage.
(Defined by AlgorithmExtensions.) |
![]() | Save |
Save the statistic model to file
(Defined by StatModelExtensions.) |
![]() | Train(TrainData, Int32) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Train(IInputArray, DataLayoutType, IInputArray) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Write |
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.) |