Initializes a new instance of the QLearning class.
Namespace:
AForge.MachineLearningAssembly: AForge.MachineLearning (in AForge.MachineLearning.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
C# |
---|
public QLearning( int states, int actions, IExplorationPolicy explorationPolicy ) |
Parameters
- states
- Type: System..::.Int32
Amount of possible states.
- actions
- Type: System..::.Int32
Amount of possible actions.
- explorationPolicy
- Type: AForge.MachineLearning..::.IExplorationPolicy
Exploration policy.
Remarks
Action estimates are randomized in the case of this constructor
is used.