C# Class Accord.MachineLearning.BoltzmannExploration

Boltzmann distribution exploration policy.

The class implements exploration policy base on Boltzmann distribution. Acording to the policy, action a at state s is selected with the next probability:

exp( Q( s, a ) / t ) p( s, a ) = ----------------------------- SUM( exp( Q( s, b ) / t ) ) b

where Q(s, a) is action's a estimation (usefulness) at state s and t is Temperature.

Inheritance: IExplorationPolicy
显示文件 Open project: accord-net/framework

Public Methods

Method Description
BoltzmannExploration ( double temperature ) : System

Initializes a new instance of the BoltzmannExploration class.

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).

Method Details

BoltzmannExploration() public method

Initializes a new instance of the BoltzmannExploration class.
public BoltzmannExploration ( double temperature ) : System
temperature double Temperature parameter of Boltzmann distribution.
return System

ChooseAction() public method

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.
return int