pub fn one_pad<T>(data: ArrayView2<'_, T>) -> Array2<T>
Expand description
Prepend the input with a column of ones. Used to incorporate a constant intercept term in a regression.
pub fn one_pad<T>(data: ArrayView2<'_, T>) -> Array2<T>
Prepend the input with a column of ones. Used to incorporate a constant intercept term in a regression.