pub struct FittedLinearProbe {
pub weights: Vec<f64>,
pub in_dim: usize,
pub n_classes: usize,
pub n_iter: Vec<usize>,
pub converged: Vec<bool>,
}Expand description
A fitted one-vs-all logistic regression model.
Fields§
§weights: Vec<f64>Weight matrix stored row-major [n_classes × (in_dim + 1)].
The last column of each row is the absorbed bias term.
in_dim: usizeFeature dimensionality (before bias augmentation).
n_classes: usizeNumber of classes.
n_iter: Vec<usize>IRLS iterations taken per binary sub-problem.
converged: Vec<bool>Whether each binary sub-problem converged within max_iter.
Trait Implementations§
Source§impl Clone for FittedLinearProbe
impl Clone for FittedLinearProbe
Source§fn clone(&self) -> FittedLinearProbe
fn clone(&self) -> FittedLinearProbe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FittedLinearProbe
impl RefUnwindSafe for FittedLinearProbe
impl Send for FittedLinearProbe
impl Sync for FittedLinearProbe
impl Unpin for FittedLinearProbe
impl UnsafeUnpin for FittedLinearProbe
impl UnwindSafe for FittedLinearProbe
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