C# Class Accord.MachineLearning.EpsilonGreedyExploration

Epsilon greedy exploration policy.

The class implements epsilon greedy exploration policy. According to the policy, the best action is chosen with probability 1-epsilon. Otherwise, with probability epsilon, any other action, except the best one, is chosen randomly.

According to the policy, the epsilon value is known also as exploration rate.

Inheritance: IExplorationPolicy
Afficher le fichier Open project: accord-net/framework

Méthodes publiques

Méthode Description
ChooseAction ( double actionEstimates ) : int

Choose an action.

The method chooses an action depending on the provided estimates. The estimates can be any sort of estimate, which values usefulness of the action (expected summary reward, discounted reward, etc).

EpsilonGreedyExploration ( double epsilon ) : System

Initializes a new instance of the EpsilonGreedyExploration class.

Method Details

ChooseAction() public méthode

Choose an action.
The method chooses an action depending on the provided estimates. The estimates can be any sort of estimate, which values usefulness of the action (expected summary reward, discounted reward, etc).
public ChooseAction ( double actionEstimates ) : int
actionEstimates double Action estimates.
Résultat int

EpsilonGreedyExploration() public méthode

Initializes a new instance of the EpsilonGreedyExploration class.
public EpsilonGreedyExploration ( double epsilon ) : System
epsilon double Epsilon value (exploration rate).
Résultat System