The EMLegacy type exposes the following members.


Public methodEMLegacy()()()()
Create an Expectation Maximization model
Public methodEMLegacy(Matrix<(Of <<'(Single>)>>), Matrix<(Of <<'(Single>)>>), EMParams, Matrix<(Of <<'(Int32>)>>))
Creaet an Expectation Maximization model using the specific training parameters


Public methodClear
Clear the statistic model
(Inherited from StatModel.)
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the memory associated with this EM model
(Overrides DisposableObject..::..DisposeObject()()()().)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
(Inherited from DisposableObject.)
Public methodGetCovariances
Get the covariance matrices for each cluster
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load the statistic model from file
(Inherited from StatModel.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPredict
Predit the probability of the samples
Protected methodReleaseManagedResources
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.)
Public methodSave
Save the statistic model to file
(Inherited from StatModel.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTrain
Train the EM model using the specific training data


Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)


Public propertyMeans
Get the mean of the clusters
Public propertyNumberOfClusters
Get the number of clusters of this EM model
Public propertyProbabilities
Get the matrix of probability. A entry on the m_th row and n_th col indicates the probability of the m_th data point given the n_th cluster.
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertyWeights
Get the weights of the clusters

See Also