Custom Class |
Namespace: Accord.Statistics.Models.Markov.Topology
The Custom type exposes the following members.
Name | Description | |
---|---|---|
Custom(Double, Double) |
Creates a new custom topology with user-defined
transition matrix and initial state probabilities.
| |
Custom(Double, Double) |
Creates a new custom topology with user-defined
transition matrix and initial state probabilities.
| |
Custom(Double, Double, Boolean) |
Creates a new custom topology with user-defined
transition matrix and initial state probabilities.
| |
Custom(Double, Double, Boolean) |
Creates a new custom topology with user-defined
transition matrix and initial state probabilities.
|
Name | Description | |
---|---|---|
Initial |
Gets the initial state probabilities.
| |
States |
Gets the number of states in this topology.
| |
Transitions |
Gets the state-transitions matrix.
|
Name | Description | |
---|---|---|
Create |
Creates the state transitions matrix and the
initial state probabilities for this topology.
| |
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.) | |
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.) |
An Hidden Markov Model Topology specifies how many states and which initial probabilities a Markov model should have. Two common topologies can be discussed in terms of transition state probabilities and are available to construction through the Ergodic and Forward classes implementing the ITopology interface.
Topology specification is important with regard to both learning and performance: A model with too many states (and thus too many settable parameters) will require too much training data while an model with an insufficient number of states will prohibit the HMM from capturing subtle statistical patterns.
This custom implementation allows for arbitrarily specification of the state transition matrix and initial state probabilities for hidden Markov models.