Struct vikos::teacher::GradientDescent [] [src]

pub struct GradientDescent {
    pub learning_rate: f64,
}

Gradient descent

Simplest possible implementation of gradient descent with fixed learning rate

Fields

Defines how fast the coefficents of the trained Model will change

Trait Implementations

impl<M> Teacher<M> for GradientDescent where M: Model
[src]

Contains state which changes during the training, but is not part of the expertise Read more

Creates an instance holding all mutable state of the algorithm

Changes models coefficents so they minimize the cost function (hopefully)