mlpy.learners.online.rl.Cacla

class mlpy.learners.online.rl.Cacla(nhidden_q, nhidden_v, explorer_type=None, gamma=None, alpha=None, beta=None, explore_rate=None, filename=None)[source]

Bases: mlpy.learners.online.IOnlineLearner

Attributes

mid The module’s unique identifier.
type

Methods

choose_action(state) Choose the next action
end(experience) End the episode.
init() Initialize the learner.
learn(experience) Learn a policy from the experience.
load(filename) Load the state of the module from file.
save(filename) Save the current state of the module to file.
start() Start an episode.
step(experience) Execute learning specific updates.