pub fn new(solver: &'static str) -> LogisticRegression {
        //base::which_backend();
        LogisticRegression {
            classes: af::randn!(1),
            w: af::randn!(1),
            b: 0.0,
            epochs: 100,
            lr: 1e-3,
            solver,
            batch_size: 120,
        }
    }
/// Create a new binary or multinomial logistic regression model
///
/// # Parameters
/// - solver: which solver to use, currently only "sgd" is supported
///
/// # Return Values
/// nothing
///
Create a new binary or multinomial logistic regression model
Parameters
solver: which solver to use, currently only "sgd" is supported

Return Values
nothing
Create a new binary or multinomial logistic regression model Parameters solver : which solver to use currently only " sgd " is supported Return Values nothing
pub fn new(solver: &'static str) -> LogisticRegression {
        //base::which_backend();
        LogisticRegression {
            classes: af::randn!(1),
            w: af::randn!(1),
            b: 0.0,
            epochs: 100,
            lr: 1e-3,
            solver,
            batch_size: 120,
        }
    }
pub fn new ( solver : & ' static str ) -> LogisticRegression { //base::which_backend(); LogisticRegression { classes : af :: randn ! ( 1 ) , w : af :: randn ! ( 1 ) , b : 0.0 , epochs : 100 , lr : 1e-3 , solver , batch_size : 120 , } }
Create a new binary or multinomial logistic regression model
 Parameters
 solver: which solver to use, currently only "sgd" is supported
Create a new binary or multinomial logistic regression model Parameters solver : which solver to use currently only " sgd " is supported
solver
&'static str