pub struct RankedAlgorithm {
pub algorithm: AlgorithmSpec,
pub cv_score: f64,
pub cv_std: f64,
pub training_time: f64,
pub memory_usage: f64,
pub best_params: HashMap<String, String>,
pub rank: usize,
pub selection_probability: f64,
}Expand description
Algorithm with performance ranking
Fields§
§algorithm: AlgorithmSpecAlgorithm specification
cv_score: f64Cross-validation score
cv_std: f64Standard deviation of CV scores
training_time: f64Training time in seconds
memory_usage: f64Memory usage in MB
best_params: HashMap<String, String>Optimized hyperparameters
rank: usizeRank among all algorithms (1 = best)
selection_probability: f64Selection probability based on performance
Trait Implementations§
Source§impl Clone for RankedAlgorithm
impl Clone for RankedAlgorithm
Source§fn clone(&self) -> RankedAlgorithm
fn clone(&self) -> RankedAlgorithm
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 RankedAlgorithm
impl RefUnwindSafe for RankedAlgorithm
impl Send for RankedAlgorithm
impl Sync for RankedAlgorithm
impl Unpin for RankedAlgorithm
impl UnwindSafe for RankedAlgorithm
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