Trait renforce::trainer::BatchTrainer
[−]
[src]
pub trait BatchTrainer<S: Space, A: Space, T: Agent<S, A>> { fn train(&mut self, agent: &mut T, transitions: Vec<Transition<S, A>>); }
Represents a way to train an agent from a set of transitions
Required Methods
fn train(&mut self, agent: &mut T, transitions: Vec<Transition<S, A>>)
Trains agent based on the observed transitions
Implementors
impl<S: Space, A: FiniteSpace, T> BatchTrainer<S, A, T> for FittedQIteration<A> where T: QFunction<S, A> + Agent<S, A>
impl<F: Float + 'static, S: Space, A: Space, T> BatchTrainer<S, A, T> for LSPolicyIteration<F> where T: Agent<S, A> + ParameterizedFunc<F> + FeatureExtractor<S, A, F>