Struct rusty_machine::learning::optim::grad_desc::AdaGrad [] [src]

pub struct AdaGrad { /* fields omitted */ }

Adaptive Gradient Descent

The adaptive gradient descent algorithm (Duchi et al. 2010).

Methods

impl AdaGrad
[src]

Constructs a new AdaGrad algorithm.

Examples

use rusty_machine::learning::optim::grad_desc::AdaGrad;

// Create a new AdaGrad algorithm with step size 0.5
// and adaptive scaling constant 1.0
let gd = AdaGrad::new(0.5, 1.0, 100);

Trait Implementations

impl Debug for AdaGrad
[src]

Formats the value using the given formatter.

impl Default for AdaGrad
[src]

Returns the "default value" for a type. Read more

impl<M: Optimizable<Inputs=Matrix<f64>, Targets=Matrix<f64>>> OptimAlgorithm<M> for AdaGrad
[src]

Return the optimized parameter using gradient optimization. Read more