Struct scarecrow::sgd::SGDTrainer [] [src]

pub struct SGDTrainer {
    pub rate: f32,
    pub epochs: usize,
    pub loss: Box<DifferentiableLossFunction>,
}

Stochastic gradient descent trainer.

Fields

The learning rate

The number of iterations to train

The loss function to use

Methods

impl SGDTrainer
[src]

Trait Implementations

impl SupervisedTrainer for SGDTrainer
[src]