pub struct NdarrayRegressionResult<T = f64> {
pub coefficients: Array1<T>,
pub fitted_values: Array1<T>,
pub residuals: Array1<T>,
pub r_squared: T,
}Expand description
Regression result for ndarray inputs.
Fields§
§coefficients: Array1<T>Regression coefficients.
fitted_values: Array1<T>Model fitted values.
residuals: Array1<T>Residuals (y - y_hat).
r_squared: TCoefficient of determination.
Trait Implementations§
Source§impl<T: Clone> Clone for NdarrayRegressionResult<T>
impl<T: Clone> Clone for NdarrayRegressionResult<T>
Source§fn clone(&self) -> NdarrayRegressionResult<T>
fn clone(&self) -> NdarrayRegressionResult<T>
Returns a duplicate of the value. Read more
1.0.0 · 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<T> Freeze for NdarrayRegressionResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for NdarrayRegressionResult<T>where
T: RefUnwindSafe,
impl<T> Send for NdarrayRegressionResult<T>where
T: Send,
impl<T> Sync for NdarrayRegressionResult<T>where
T: Sync,
impl<T> Unpin for NdarrayRegressionResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for NdarrayRegressionResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for NdarrayRegressionResult<T>where
T: UnwindSafe + RefUnwindSafe,
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