pub struct ValidationCurveResult {
pub param_values: Vec<ParameterValue>,
pub train_scores: Array2<f64>,
pub test_scores: Array2<f64>,
pub train_scores_mean: Array1<f64>,
pub test_scores_mean: Array1<f64>,
pub train_scores_std: Array1<f64>,
pub test_scores_std: Array1<f64>,
pub train_scores_lower: Array1<f64>,
pub train_scores_upper: Array1<f64>,
pub test_scores_lower: Array1<f64>,
pub test_scores_upper: Array1<f64>,
}Expand description
Validation curve results
Fields§
§param_values: Vec<ParameterValue>Parameter values used
train_scores: Array2<f64>Training scores for each parameter value
test_scores: Array2<f64>Validation scores for each parameter value
train_scores_mean: Array1<f64>Mean training scores for each parameter value
test_scores_mean: Array1<f64>Mean validation scores for each parameter value
train_scores_std: Array1<f64>Standard deviation of training scores for each parameter value
test_scores_std: Array1<f64>Standard deviation of validation scores for each parameter value
train_scores_lower: Array1<f64>Lower error bar for training scores (mean - std_error)
train_scores_upper: Array1<f64>Upper error bar for training scores (mean + std_error)
test_scores_lower: Array1<f64>Lower error bar for validation scores (mean - std_error)
test_scores_upper: Array1<f64>Upper error bar for validation scores (mean + std_error)
Trait Implementations§
Source§impl Clone for ValidationCurveResult
impl Clone for ValidationCurveResult
Source§fn clone(&self) -> ValidationCurveResult
fn clone(&self) -> ValidationCurveResult
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 ValidationCurveResult
impl RefUnwindSafe for ValidationCurveResult
impl Send for ValidationCurveResult
impl Sync for ValidationCurveResult
impl Unpin for ValidationCurveResult
impl UnwindSafe for ValidationCurveResult
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