|
Forward Constructor (Int32, Int32, Boolean)
|
Creates a new Forward topology for a given number of states.
Namespace:
Accord.Statistics.Models.Markov.Topology
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntaxpublic Forward(
int states,
int deepness,
bool random
)
Public Sub New (
states As Integer,
deepness As Integer,
random As Boolean
)
Request Example
View SourceParameters
- states
- Type: SystemInt32
The number of states to be used in the model. - deepness
- Type: SystemInt32
The maximum number of forward transitions allowed
for a state. Default is to use the same as the number of states (all forward
connections are allowed). - random
- Type: SystemBoolean
Whether to initialize the model with random probabilities
or uniformly with 1 / number of states. Default is false (default is
to use 1/states).
See Also