Initializes a new instance of the Sarsa class.

Namespace:  AForge.MachineLearning
Assembly:  AForge.MachineLearning (in AForge.MachineLearning.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public Sarsa(
	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.

See Also