ViterbiLearningTDistribution Class |
Note: This API is now obsolete.
Namespace: Accord.Statistics.Models.Markov.Learning
[ObsoleteAttribute("Please use ViterbiLearning<TDistribution, TObservation> instead.")] public class ViterbiLearning<TDistribution> : BaseViterbiLearning<double[][]>, IUnsupervisedLearning, IConvergenceLearning where TDistribution : IDistribution
The ViterbiLearningTDistribution type exposes the following members.
Name | Description | |
---|---|---|
ViterbiLearningTDistribution |
Creates a new instance of the Viterbi learning algorithm.
|
Name | Description | |
---|---|---|
Batches |
Gets or sets on how many batches the learning data should be divided during learning.
Batches are used to estimate adequately the first models so they can better compute
the Viterbi paths for subsequent passes of the algorithm. Default is 1.
(Inherited from BaseViterbiLearningT.) | |
CurrentIteration |
Gets the current iteration.
(Inherited from BaseViterbiLearningT.) | |
FittingOptions |
Gets or sets the distribution fitting options
to use when estimating distribution densities
during learning.
| |
HasConverged |
Gets a value indicating whether this instance has converged.
(Inherited from BaseViterbiLearningT.) | |
Iterations | Obsolete.
Please use MaxIterations instead.
(Inherited from BaseViterbiLearningT.) | |
MaxIterations |
Gets or sets the maximum number of iterations
performed by the learning algorithm.
(Inherited from BaseViterbiLearningT.) | |
Model |
Gets the model being trained.
| |
Token |
Gets or sets a cancellation token that can be used to
stop the learning algorithm while it is running.
(Inherited from BaseViterbiLearningT.) | |
Tolerance |
Gets or sets the maximum change in the average log-likelihood
after an iteration of the algorithm used to detect convergence.
(Inherited from BaseViterbiLearningT.) | |
UseLaplaceRule |
Gets or sets whether to use Laplace's rule
of succession to avoid zero probabilities.
|
Name | Description | |
---|---|---|
ComputeLogLikelihood |
Computes the log-likelihood for the current model for the given observations.
(Overrides BaseViterbiLearningTComputeLogLikelihood(T).) | |
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Run(T) |
Runs the learning algorithm.
(Inherited from BaseViterbiLearningT.) | |
Run(Array) |
Runs the learning algorithm.
| |
RunEpoch |
Runs one single epoch (iteration) of the learning algorithm.
(Overrides BaseViterbiLearningTRunEpoch(T, Int32).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) |