Skip to main content

Crate anofox_ml_linear

Crate anofox_ml_linear 

Source
Expand description

SGD-based linear models.

Provides SgdClassifier and SgdRegressor — linear models trained with stochastic gradient descent. These scale well to large datasets and support multiple loss functions and regularization options.

Re-exports§

pub use passive_aggressive::FittedPassiveAggressiveClassifier;
pub use passive_aggressive::FittedPassiveAggressiveRegressor;
pub use passive_aggressive::PaVariant;
pub use passive_aggressive::PassiveAggressiveClassifier;
pub use passive_aggressive::PassiveAggressiveRegressor;
pub use sgd_classifier::ClassifierLoss;
pub use sgd_classifier::FittedSgdClassifier;
pub use sgd_classifier::SgdClassifier;
pub use sgd_common::LearningRate;
pub use sgd_common::Penalty as SgdPenalty;
pub use sgd_regressor::FittedSgdRegressor;
pub use sgd_regressor::RegressorLoss;
pub use sgd_regressor::SgdRegressor;

Modules§

passive_aggressive
Passive-Aggressive online learners (Crammer et al. 2006).
sgd_classifier
SGD-based linear classifier.
sgd_common
Common types and utilities for SGD-based linear models.
sgd_regressor
SGD-based linear regressor.