pub struct MetaLearner { /* private fields */ }Expand description
Meta-learning for warm-starting AutoML
Implementations§
Source§impl MetaLearner
impl MetaLearner
Sourcepub fn extract_features(&mut self, X: &Tensor, y: &Tensor)
pub fn extract_features(&mut self, X: &Tensor, y: &Tensor)
Extract dataset characteristics
Sourcepub fn recommend_models(&self, n: usize) -> Vec<ModelType>
pub fn recommend_models(&self, n: usize) -> Vec<ModelType>
Recommend models based on meta-learning
Sourcepub fn record_performance(&mut self, model_type: ModelType, score: f32)
pub fn record_performance(&mut self, model_type: ModelType, score: f32)
Record performance for meta-learning
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaLearner
impl RefUnwindSafe for MetaLearner
impl Send for MetaLearner
impl Sync for MetaLearner
impl Unpin for MetaLearner
impl UnwindSafe for MetaLearner
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> 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