Catalano.MachineLearning.Exploration
Class RouletteWheelExploration
- java.lang.Object
-
- Catalano.MachineLearning.Exploration.RouletteWheelExploration
-
- All Implemented Interfaces:
- IExplorationPolicy
public class RouletteWheelExploration extends java.lang.Object implements IExplorationPolicy
The class implements roulette whell exploration policy. Acording to the policy, action a at state s is selected with the next probability: Q( s, a ) p( s, a ) = ------------------ SUM( Q( s, b ) ) bwhere Q(s, a) is action's a estimation (usefulness) at state s. The exploration policy may be applied only in cases, when action estimates (usefulness) are represented with positive value greater then 0.
-
-
Constructor Summary
Constructors Constructor and Description RouletteWheelExploration()Initializes a new instance of the RouletteWheelExploration class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intChooseAction(double[] actionEstimates)The method chooses an action depending on the provided estimates.
-
-
-
Constructor Detail
-
RouletteWheelExploration
public RouletteWheelExploration()
Initializes a new instance of the RouletteWheelExploration class.
-
-
Method Detail
-
ChooseAction
public int ChooseAction(double[] actionEstimates)
Description copied from interface:IExplorationPolicyThe 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).- Specified by:
ChooseActionin interfaceIExplorationPolicy- Parameters:
actionEstimates- Action estimates.- Returns:
- Returns selected action.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG