pub struct LearningCurveResult {
pub train_sizes: Array1<usize>,
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
Learning curve results
Fields§
§train_sizes: Array1<usize>Training set sizes used
train_scores: Array2<f64>Training scores for each size
test_scores: Array2<f64>Validation scores for each size
train_scores_mean: Array1<f64>Mean training scores for each size
test_scores_mean: Array1<f64>Mean validation scores for each size
train_scores_std: Array1<f64>Standard deviation of training scores for each size
test_scores_std: Array1<f64>Standard deviation of validation scores for each size
train_scores_lower: Array1<f64>Lower confidence bound for training scores (mean - confidence_interval)
train_scores_upper: Array1<f64>Upper confidence bound for training scores (mean + confidence_interval)
test_scores_lower: Array1<f64>Lower confidence bound for validation scores (mean - confidence_interval)
test_scores_upper: Array1<f64>Upper confidence bound for validation scores (mean + confidence_interval)
Trait Implementations§
Source§impl Clone for LearningCurveResult
impl Clone for LearningCurveResult
Source§fn clone(&self) -> LearningCurveResult
fn clone(&self) -> LearningCurveResult
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 LearningCurveResult
impl RefUnwindSafe for LearningCurveResult
impl Send for LearningCurveResult
impl Sync for LearningCurveResult
impl Unpin for LearningCurveResult
impl UnwindSafe for LearningCurveResult
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