mlpy.learners.online.rl.Cacla.end

Cacla.end(experience)[source]

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.