Click or drag to resize
Accord.NET (logo)

ExpectationMaximizationTObservationCompute Method (TObservation, Double)

Estimates a mixture distribution for the given observations using the Expectation-Maximization algorithm, assuming different weights for each observation.

Namespace:  Accord.Statistics.Distributions.Fitting
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double Compute(
	TObservation[] observations,
	double[] weights
)
Request Example View Source

Parameters

observations
Type: TObservation
The observations from the mixture distribution.
weights
Type: SystemDouble
The weight of each observation.

Return Value

Type: Double
The log-likelihood of the estimated mixture model.
See Also