pub struct RMSProp { /* private fields */ }Expand description
RMSProp
The RMSProp algorithm (Hinton et al. 2012).
Implementations§
Source§impl RMSProp
impl RMSProp
Sourcepub fn new(
learning_rate: f64,
decay_rate: f64,
epsilon: f64,
iters: usize,
) -> RMSProp
pub fn new( learning_rate: f64, 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§
Source§impl Default for RMSProp
The default RMSProp configuration
impl Default for RMSProp
The default RMSProp configuration
The defaults are:
- learning_rate = 0.01
- decay_rate = 0.9
- epsilon = 1.0e-5
- iters = 50
Source§impl<M> OptimAlgorithm<M> for RMSProp
impl<M> OptimAlgorithm<M> for RMSProp
impl Copy for RMSProp
Auto Trait Implementations§
impl Freeze for RMSProp
impl RefUnwindSafe for RMSProp
impl Send for RMSProp
impl Sync for RMSProp
impl Unpin for RMSProp
impl UnwindSafe for RMSProp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more