pub struct LinearRegression { /* private fields */ }Expand description
y ≈ X w + b, fitted by minimum-norm least squares through the SVD, so rank-deficient designs
(collinear features, more features than samples) are handled gracefully.
Implementations§
Trait Implementations§
Source§impl Clone for LinearRegression
impl Clone for LinearRegression
Source§impl Debug for LinearRegression
impl Debug for LinearRegression
Source§impl Default for LinearRegression
impl Default for LinearRegression
Auto Trait Implementations§
impl Freeze for LinearRegression
impl RefUnwindSafe for LinearRegression
impl Send for LinearRegression
impl Sync for LinearRegression
impl Unpin for LinearRegression
impl UnsafeUnpin for LinearRegression
impl UnwindSafe for LinearRegression
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