pub struct NestedCVResult {
pub outer_scores: Array1<f64>,
pub best_params_per_fold: Vec<ParameterValue>,
pub inner_scores_per_fold: Vec<Vec<f64>>,
pub mean_outer_score: f64,
pub std_outer_score: f64,
}Expand description
Result of nested cross-validation
Fields§
§outer_scores: Array1<f64>Outer cross-validation scores (unbiased performance estimates)
best_params_per_fold: Vec<ParameterValue>Best parameters found for each outer fold
inner_scores_per_fold: Vec<Vec<f64>>Inner CV scores for each parameter in each outer fold
mean_outer_score: f64Mean of outer scores
std_outer_score: f64Standard deviation of outer scores
Trait Implementations§
Source§impl Clone for NestedCVResult
impl Clone for NestedCVResult
Source§fn clone(&self) -> NestedCVResult
fn clone(&self) -> NestedCVResult
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 NestedCVResult
impl RefUnwindSafe for NestedCVResult
impl Send for NestedCVResult
impl Sync for NestedCVResult
impl Unpin for NestedCVResult
impl UnwindSafe for NestedCVResult
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