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.