pub struct LogisticRegressionConfig {
pub optimizer: Optimizer,
pub loss: BinaryLogLoss,
}Expand description
Configuration for LogisticRegression.
Fields§
§optimizer: OptimizerThe optimizer (SGD or AdaGrad).
loss: BinaryLogLossThe log loss configuration.
Trait Implementations§
Source§impl Clone for LogisticRegressionConfig
impl Clone for LogisticRegressionConfig
Source§fn clone(&self) -> LogisticRegressionConfig
fn clone(&self) -> LogisticRegressionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogisticRegressionConfig
impl Debug for LogisticRegressionConfig
Auto Trait Implementations§
impl Freeze for LogisticRegressionConfig
impl RefUnwindSafe for LogisticRegressionConfig
impl Send for LogisticRegressionConfig
impl Sync for LogisticRegressionConfig
impl Unpin for LogisticRegressionConfig
impl UnsafeUnpin for LogisticRegressionConfig
impl UnwindSafe for LogisticRegressionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more