pub struct WarmStartRegressorTrained {
pub coef: Array2<Float>,
pub intercept: Array1<Float>,
pub n_features: usize,
pub n_outputs: usize,
pub n_iter: usize,
pub loss_history: Vec<Float>,
pub best_loss: Float,
pub best_iter: usize,
pub best_coef: Option<Array2<Float>>,
pub best_intercept: Option<Array1<Float>>,
pub converged: bool,
pub config: WarmStartRegressorConfig,
}Expand description
Trained state for Warm Start Regressor
Fields§
§coef: Array2<Float>Coefficient matrix
intercept: Array1<Float>Intercept vector
n_features: usizeNumber of features
n_outputs: usizeNumber of outputs
n_iter: usizeNumber of iterations performed
loss_history: Vec<Float>Loss history
best_loss: FloatBest loss achieved
best_iter: usizeBest iteration
best_coef: Option<Array2<Float>>Best coefficients (if early stopping enabled)
best_intercept: Option<Array1<Float>>Best intercept (if early stopping enabled)
converged: boolWhether converged
config: WarmStartRegressorConfigConfiguration
Trait Implementations§
Source§impl Clone for WarmStartRegressorTrained
impl Clone for WarmStartRegressorTrained
Source§fn clone(&self) -> WarmStartRegressorTrained
fn clone(&self) -> WarmStartRegressorTrained
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 Freeze for WarmStartRegressorTrained
impl RefUnwindSafe for WarmStartRegressorTrained
impl Send for WarmStartRegressorTrained
impl Sync for WarmStartRegressorTrained
impl Unpin for WarmStartRegressorTrained
impl UnwindSafe for WarmStartRegressorTrained
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more