Trait renforce::trainer::EpisodicTrainer [] [src]

pub trait EpisodicTrainer<S: Space, A: Space, T: Agent<S, A>> {
    fn train_step(&mut self,
                  agent: &mut T,
                  env: &mut Environment<State=S, Action=A>); fn train(&mut self, agent: &mut T, env: &mut Environment<State=S, Action=A>); }

Trains agents 1 "episode" at a time

Required Methods

Trains agent using 1 "episodes" worth of exploration

Trains agent to perform well in the environment, potentially acting out multiple episodes

Implementors