BaseBaumWelchLearningTModel, TDistribution, TObservation, TOptions Class 
Namespace: Accord.Statistics.Models.Markov.Learning
public abstract class BaseBaumWelchLearning<TModel, TDistribution, TObservation, TOptions> : BaseHiddenMarkovModelLearning<TModel, TObservation>, IUnsupervisedLearning<TModel, TObservation[], int[]>, IConvergenceLearning where TModel : HiddenMarkovModel<TDistribution, TObservation> where TDistribution : Object, IFittableDistribution<TObservation> where TOptions : class, IFittingOptions
The BaseBaumWelchLearningTModel, TDistribution, TObservation, TOptions type exposes the following members.
Name  Description  

BaseBaumWelchLearningTModel, TDistribution, TObservation, TOptions 
Creates a new instance of the BaumWelch learning algorithm.
 
BaseBaumWelchLearningTModel, TDistribution, TObservation, TOptions(TModel) 
Creates a new instance of the BaumWelch learning algorithm.

Name  Description  

Convergence 
Gets or sets convergence parameters.
 
CurrentIteration 
Gets or sets the number of performed iterations.
 
Emissions 
Gets or sets the function that initializes the emission
distributions in the hidden Markov Models.
 
FittingOptions 
Gets or sets the distribution fitting options
to use when estimating distribution densities
during learning.
 
HasConverged 
Gets or sets whether the algorithm has converged.
 
Iterations  Obsolete.
Please use MaxIterations instead.
 
LogGamma 
Gets the Gamma matrix of log probabilities created during
the last iteration of the BaumWelch learning algorithm.
 
LogKsi 
Gets the Ksi matrix of log probabilities created during
the last iteration of the BaumWelch learning algorithm.
 
LogLikelihood 
Gets the loglikelihood of the model at the last iteration.
 
LogWeights 
Gets the sample weights in the last iteration of the
BaumWelch learning algorithm.
 
MaxIterations 
Gets or sets the maximum number of iterations
performed by the learning algorithm.
 
Model 
Gets or sets the model being trained.
(Inherited from BaseHiddenMarkovModelLearningTModel, TObservation.)  
NumberOfStates 
Gets or sets the number of states to be used when this
learning algorithm needs to create new models.
(Inherited from BaseHiddenMarkovModelLearningTModel, TObservation.)  
Observations 
Gets all observations as a single vector.
 
ParallelOptions 
Gets or sets the parallelization options for this algorithm.
(Inherited from ParallelLearningBase.)  
Token 
Gets or sets a cancellation token that can be used
to cancel the algorithm while it is running.
(Inherited from ParallelLearningBase.)  
Tolerance 
Gets or sets the maximum change in the average loglikelihood
after an iteration of the algorithm used to detect convergence.
 
Topology 
Gets or sets the state transition topology to be used when this learning
algorithm needs to create new models. Default is Forward.
(Inherited from BaseHiddenMarkovModelLearningTModel, TObservation.) 
Name  Description  

ComputeForwardBackward 
Computes the forward and backward probabilities matrices
for a given observation referenced by its index in the
input training data.
 
ComputeKsi 
Computes the ksi matrix of probabilities for a given observation
referenced by its index in the input training data.
 
Create 
Creates an instance of the model to be learned. Inheritors of this abstract
class must define this method so new models can be created from the training data.
(Inherited from BaseHiddenMarkovModelLearningTModel, TObservation.)  
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
Fit 
Fits one emission distribution. This method can be override in a
base class in order to implement special fitting options.
 
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
Learn 
Learns a model that can map the given inputs to the desired outputs.
 
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
ToString  Returns a string that represents the current object. (Inherited from Object.)  
UpdateEmissions 
Updates the emission probability matrix.

Name  Description  

HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
IsEqual 
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.)  
To(Type)  Overloaded.
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.)  
ToT  Overloaded.
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.) 