|
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
)
Public Function Compute (
observations As TObservation(),
weights As Double()
) As Double
Request Example
View SourceParameters
- observations
- Type: TObservation
The observations from the mixture distribution. - weights
- Type: SystemDouble
The weight of each observation.
Return Value
Type:
DoubleThe log-likelihood of the estimated mixture model.
See Also