Struct rusty_machine::learning::logistic_reg::BaseLogisticRegressor
[−]
[src]
pub struct BaseLogisticRegressor { /* fields omitted */ }
The Base Logistic Regression model.
This struct cannot be instantianated and is used internally only.
Trait Implementations
impl Debug for BaseLogisticRegressor
[src]
impl Optimizable for BaseLogisticRegressor
[src]
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.