Click or drag to resize
Accord.NET (logo)

LogExpectationMaximizationTObservation Class

Expectation Maximization algorithm for mixture model fitting in the log domain.
Inheritance Hierarchy

Namespace:  Accord.Statistics.Distributions.Fitting
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.7.0
public class LogExpectationMaximization<TObservation> : ParallelLearningBase
Request Example View Source

Type Parameters

The type of the observations being fitted.

The LogExpectationMaximizationTObservation type exposes the following members.

Public methodLogExpectationMaximizationTObservation
Creates a new LogExpectationMaximizationTObservation algorithm.
Public propertyCoefficients
Gets the current coefficient values.
Public propertyConvergence
Gets or sets convergence properties for the expectation-maximization algorithm.
Public propertyDistributions
Gets the current component distribution values.
Public propertyInnerOptions
Gets or sets the fitting options to be used when any of the component distributions need to be estimated from the data.
Public propertyLogGamma
Gets the responsibility of each input vector when estimating each of the component distributions, in the last iteration.
Public propertyParallelOptions
Gets or sets the parallelization options for this algorithm.
(Inherited from ParallelLearningBase.)
Public propertyToken
Gets or sets a cancellation token that can be used to cancel the algorithm while it is running.
(Inherited from ParallelLearningBase.)
Public methodCompute
Estimates a mixture distribution for the given observations using the Expectation-Maximization algorithm.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLogLikelihood
Computes the log-likelihood of the distribution for a given set of observations.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Extension Methods
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToT
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)

This class implements a generic version of the Expectation-Maximization algorithm which can be used with both univariate or multivariate distribution types.

See Also