Struct rusty_machine::learning::optim::grad_desc::RMSProp
[−]
[src]
pub struct RMSProp { /* fields omitted */ }
RMSProp
The RMSProp algorithm (Hinton et al. 2012).
Methods
impl RMSProp
[src]
fn new(learning_rate: f64,
decay_rate: f64,
epsilon: f64,
iters: usize)
-> RMSProp
decay_rate: f64,
epsilon: f64,
iters: usize)
-> RMSProp
Construct an RMSProp algorithm.
Requires learning rate, decay rate, epsilon, and iteration count.
Examples
use rusty_machine::learning::optim::grad_desc::RMSProp; let rms = RMSProp::new(0.99, 0.01, 1e-5, 20);
Trait Implementations
impl Debug for RMSProp
[src]
impl Clone for RMSProp
[src]
fn clone(&self) -> RMSProp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for RMSProp
[src]
impl Default for RMSProp
[src]
The default RMSProp configuration
The defaults are:
- learning_rate = 0.01
- decay_rate = 0.9
- epsilon = 1.0e-5
- iters = 50