|
ExpectationMaximizationTObservationLogLikelihood Method (Double, IDistributionTObservation, TObservation, Double, Double, ParallelOptions)
|
Computes the log-likelihood of the distribution
for a given set of observations.
Namespace:
Accord.Statistics.Distributions.Fitting
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double LogLikelihood(
double[] pi,
IDistribution<TObservation>[] pdf,
TObservation[] observations,
double[] weights,
double weightSum,
ParallelOptions parallelOptions
)
Public Shared Function LogLikelihood (
pi As Double(),
pdf As IDistribution(Of TObservation)(),
observations As TObservation(),
weights As Double(),
weightSum As Double,
parallelOptions As ParallelOptions
) As Double
Request Example
View SourceParameters
- pi
- Type: SystemDouble
- pdf
- Type: Accord.Statistics.DistributionsIDistributionTObservation
- observations
- Type: TObservation
- weights
- Type: SystemDouble
- weightSum
- Type: SystemDouble
- parallelOptions
- Type: System.Threading.TasksParallelOptions
Return Value
Type:
DoubleSee Also