pub struct CvResult {
pub params: HashMap<String, ParamValue>,
pub mean_score: f64,
pub fold_scores: Vec<f64>,
}Expand description
Fields§
§params: HashMap<String, ParamValue>The parameter combination that was evaluated.
mean_score: f64Mean score across all CV folds.
fold_scores: Vec<f64>Individual fold scores.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CvResult
impl RefUnwindSafe for CvResult
impl Send for CvResult
impl Sync for CvResult
impl Unpin for CvResult
impl UnsafeUnpin for CvResult
impl UnwindSafe for CvResult
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