mlpy.learners.online.rl.ModelBasedLearner.end

ModelBasedLearner.end(experience)

End the episode.

Perform all end of episode tasks and save the state of the learner to file.

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.