mlpy.learners.ILearner.choose_action

ILearner.choose_action(state)[source]

Choose the next action

The next action is chosen according to the current policy and the selected exploration strategy.

Parameters:

state : State

The current state.

Returns:

Action :

The chosen action.

Raises:

NotImplementedError

If the child class does not implement this function.