pub struct Logistic {
pub scaler: Scaler,
pub intercept: f64,
pub weights: Vec<f64>,
}Expand description
Logistic regression p = σ(b₀ + w·z) on standardized inputs z.
Fields§
§scaler: Scaler§intercept: f64§weights: Vec<f64>Implementations§
Source§impl Logistic
impl Logistic
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Logistic
impl<'de> Deserialize<'de> for Logistic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Logistic
impl RefUnwindSafe for Logistic
impl Send for Logistic
impl Sync for Logistic
impl Unpin for Logistic
impl UnsafeUnpin for Logistic
impl UnwindSafe for Logistic
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