Skip to main content

Module optim

Module optim 

Source
Expand description

Optimizers for online linear models.

Optimizers are represented as a concrete enum to avoid trait-object overhead and simplify serialization. The internal parameter vector has length feature_count + 1, where the last position holds the intercept.

Structs§

AdaGrad
AdaGrad optimizer.
AdaGradConfig
Configuration for AdaGrad.
Sgd
SGD optimizer with optional L2 regularization.
SgdConfig
Configuration for Sgd.

Enums§

Optimizer
Concrete optimizer enum wrapping all supported optimizers.