|   | Sarsa Constructor (Int32, Int32, IExplorationPolicy, Boolean) | 
        
         
            Initializes a new instance of the 
Sarsa class.
            
 
    Namespace: 
   Accord.MachineLearning
    Assembly:
   Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
 Syntax
Syntaxpublic Sarsa(
	int states,
	int actions,
	IExplorationPolicy explorationPolicy,
	bool randomize
)
Public Sub New ( 
	states As Integer,
	actions As Integer,
	explorationPolicy As IExplorationPolicy,
	randomize As Boolean
)
Parameters
- states
- Type: SystemInt32
 Amount of possible states.
- actions
- Type: SystemInt32
 Amount of possible actions.
- explorationPolicy
- Type: Accord.MachineLearningIExplorationPolicy
 Exploration policy.
- randomize
- Type: SystemBoolean
 Randomize action estimates or not.
 Remarks
RemarksThe randomize parameter specifies if initial action estimates should be randomized
            with small values or not. Randomization of action values may be useful, when greedy exploration
            policies are used. In this case randomization ensures that actions of the same type are not chosen always.
 See Also
See Also