mlpy.agents.modules.LearningModule.end

LearningModule.end(experience)[source]

End the episode.

Offline learning is performed at the end of an episode.

Parameters:

experience : Experience

The agent’s experience consisting of the previous state, the action performed in that state, the current state and the reward awarded.