pub struct LinearRegressionResult {
pub slope: f64,
pub intercept: f64,
pub r2: f64,
}Expand description
Result of a linear regression fit over a data slice.
Fields§
§slope: f64§intercept: f64§r2: f64Trait Implementations§
Source§impl Clone for LinearRegressionResult
impl Clone for LinearRegressionResult
Source§fn clone(&self) -> LinearRegressionResult
fn clone(&self) -> LinearRegressionResult
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 moreimpl Copy for LinearRegressionResult
Source§impl Debug for LinearRegressionResult
impl Debug for LinearRegressionResult
Source§impl PartialEq for LinearRegressionResult
impl PartialEq for LinearRegressionResult
impl StructuralPartialEq for LinearRegressionResult
Auto Trait Implementations§
impl Freeze for LinearRegressionResult
impl RefUnwindSafe for LinearRegressionResult
impl Send for LinearRegressionResult
impl Sync for LinearRegressionResult
impl Unpin for LinearRegressionResult
impl UnsafeUnpin for LinearRegressionResult
impl UnwindSafe for LinearRegressionResult
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