Crate esopt

Source
Expand description

General implementation of the ES strategy described in https://arxiv.org/pdf/1703.03864.pdf.

Structs§

Adam
Adam Optimizer, with possibility of using AdaBound
Adamax
Adamax Optimizer
ES
Evolution-Strategy optimizer class. Optimizes given parameters towards a maximum evaluation-score.
Lookahead
Lookahead optimizer on top of other optimizers
RAdam
RAdam Optimizer (Rectified Adam)
SGD
SGD Optimizer, which actually is SGA here (stochastic gradient ascent) Momentum and weight decay is available

Traits§

Evaluator
Definition of standard evaluator trait.
Optimizer
Definition of the optimizer traits, to dynamically allow different optimizers

Functions§

gen_rnd_vec
Generate a vector of random numbers with 0 mean and std std, normally distributed. Using standard thread_rng.

Type Aliases§

Float
This crate’s float type to use.