Click or drag to resize
Accord.NET (logo)

Sarsa Constructor (Int32, Int32, IExplorationPolicy)

Initializes a new instance of the Sarsa class.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.0
Syntax
public Sarsa(
	int states,
	int actions,
	IExplorationPolicy explorationPolicy
)
Request Example View Source

Parameters

states
Type: SystemInt32
Amount of possible states.
actions
Type: SystemInt32
Amount of possible actions.
explorationPolicy
Type: Accord.MachineLearningIExplorationPolicy
Exploration policy.
Remarks
Action estimates are randomized in the case of this constructor is used.
See Also