pub struct LinearRegression { /* private fields */ }Expand description
オンライン線形回帰 (y = slope * x + intercept)。
Welford法ベースの逐次更新で、O(1) メモリ。 x, y の平均・分散・共分散から最小二乗法のパラメータを算出。
Implementations§
Trait Implementations§
Source§impl Clone for LinearRegression
impl Clone for LinearRegression
Source§impl Debug for LinearRegression
impl Debug 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