Click or drag to resize
Accord.NET (logo)

MaximumLikelihoodLearningRun Method

Note: This API is now obsolete.

Runs the Maximum Likelihood learning algorithm for hidden Markov models.

Namespace:  Accord.Statistics.Models.Markov.Learning
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
[ObsoleteAttribute("Please use Learn(x, y) instead.")]
public double Run(
	int[][] observations,
	int[][] paths
Request Example View Source


Type: SystemInt32
An array of observation sequences to be used to train the model.
Type: SystemInt32
An array of state labels associated to each observation sequence.

Return Value

Type: Double
The average log-likelihood for the observations after the model has been trained.
Supervised learning problem. Given some training observation sequences O = {o1, o2, ..., oK}, known training state paths H = {h1, h2, ..., hK} and general structure of HMM (numbers of hidden and visible states), determine HMM parameters M = (A, B, pi) that best fit training data.
See Also