Struct engram::regression::LogisticRegression
source · pub struct LogisticRegression {
pub weights: Vec<f64>,
pub learning_rate: f64,
pub num_iterations: usize,
pub regularization_param: f64,
}Fields§
§weights: Vec<f64>§learning_rate: f64§num_iterations: usize§regularization_param: f64Implementations§
Auto Trait Implementations§
impl Freeze for LogisticRegression
impl RefUnwindSafe for LogisticRegression
impl Send for LogisticRegression
impl Sync for LogisticRegression
impl Unpin for LogisticRegression
impl UnwindSafe for LogisticRegression
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