Click or drag to resize
Accord.NET (logo)

BaseHiddenMarkovClassifierTModel Class

Note: This API is now obsolete.

Base class for (HMM) Sequence Classifiers. This class cannot be instantiated.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.Models.MarkovBaseHiddenMarkovClassifierTModel
    Accord.Statistics.Models.MarkovHiddenMarkovClassifierTDistribution

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
[ObsoleteAttribute("This class will be removed.")]
public abstract class BaseHiddenMarkovClassifier<TModel> : IEnumerable
where TModel : IHiddenMarkovModel
Request Example View Source

Type Parameters

TModel

The BaseHiddenMarkovClassifierTModel type exposes the following members.

Constructors
  NameDescription
Protected methodBaseHiddenMarkovClassifierTModel(Int32)
Initializes a new instance of the BaseHiddenMarkovClassifierTModel class.
Protected methodBaseHiddenMarkovClassifierTModel(TModel)
Initializes a new instance of the BaseHiddenMarkovClassifierTModel class.
Top
Properties
  NameDescription
Public propertyClasses
Gets the number of classes which can be recognized by this classifier.
Public propertyItem
Gets the Hidden Markov Model implementation responsible for recognizing each of the classes given the desired class label.
Public propertyModels
Gets the collection of models specialized in each class of the sequence classification problem.
Public propertyPriors
Gets the prior distribution assumed for the classes.
Public propertySensitivity
Gets or sets a value governing the rejection given by a threshold model (if present). Increasing this value will result in higher rejection rates. Default is 1.
Public propertyThreshold
Gets or sets the threshold model.
Top
Methods
  NameDescription
Protected methodCompute(Array)
Computes the most likely class for a given sequence.
Protected methodCompute(Array, Double)
Computes the most likely class for a given sequence.
Protected methodCompute(Array, Double)
Computes the most likely class for a given sequence.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the models in the classifier.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLogLikelihood(Array)
Computes the log-likelihood that a sequence belongs any of the classes in the classifier.
Protected methodLogLikelihood(Array, Int32)
Computes the log-likelihood that a sequence belongs to a given class according to this classifier.
Protected methodLogLikelihood(Array, Int32)
Computes the log-likelihood of a set of sequences belonging to their given respective classes according to this classifier.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodSetEqualsTModel
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Public Extension MethodTo(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.)
Public Extension MethodToTOverloaded.
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.)
Top
See Also