Struct renforce::trainer::CrossEntropy [] [src]

pub struct CrossEntropy<F: Float> { /* fields omitted */ }

Cross Entropy method for parameter selection

Methods

impl<F: Float> CrossEntropy<F>
[src]

Constructs a new CrossEntropy

Updates elite field of self

Updates num_samples field of self

Updates eval_period field of self

Updates iters field of self

Trait Implementations

impl<F: Debug + Float> Debug for CrossEntropy<F>
[src]

Formats the value using the given formatter.

impl<F: Float, S: Space, A: Space, T> EpisodicTrainer<S, A, T> for CrossEntropy<F> where T: Agent<S, A> + ParameterizedFunc<F>
[src]

Trains agent using 1 "episodes" worth of exploration

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

impl<F: Float> Default for CrossEntropy<F>
[src]

Creates a new CrossEntropy with some default values