pub struct RMSProp { /* private fields */ }
Expand description
RMSProp
The RMSProp algorithm (Hinton et al. 2012).
Implementations
sourceimpl 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
sourceimpl Default for RMSProp
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
sourceimpl<M> OptimAlgorithm<M> for RMSPropwhere
M: Optimizable<Inputs = Matrix<f64>, Targets = Matrix<f64>>,
impl<M> OptimAlgorithm<M> for RMSPropwhere
M: Optimizable<Inputs = Matrix<f64>, Targets = Matrix<f64>>,
impl Copy for RMSProp
Auto Trait Implementations
impl RefUnwindSafe for RMSProp
impl Send for RMSProp
impl Sync for RMSProp
impl Unpin for RMSProp
impl UnwindSafe for RMSProp
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more