C# Class AForge.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
Datei anzeigen Open project: holisticware-admin/MonoVersal.AForgeNET

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 Termperature 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