Struct rusty_machine::learning::logistic_reg::BaseLogisticRegressor
source · [−]pub struct BaseLogisticRegressor { /* private fields */ }
Expand description
The Base Logistic Regression model.
This struct cannot be instantianated and is used internally only.
Trait Implementations
sourceimpl Debug for BaseLogisticRegressor
impl Debug for BaseLogisticRegressor
sourceimpl Optimizable for BaseLogisticRegressor
impl Optimizable for BaseLogisticRegressor
Computing the gradient of the underlying Logistic Regression model.
The gradient is given by
XT(h(Xb) - y) / m
where h
is the sigmoid function and b
the underlying model parameters.
Auto Trait Implementations
impl RefUnwindSafe for BaseLogisticRegressor
impl Send for BaseLogisticRegressor
impl Sync for BaseLogisticRegressor
impl Unpin for BaseLogisticRegressor
impl UnwindSafe for BaseLogisticRegressor
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more