pub struct MetaLearningEngine { /* private fields */ }Expand description
Meta-learning engine
Implementations§
Source§impl MetaLearningEngine
impl MetaLearningEngine
Sourcepub fn new(config: MetaLearningConfig) -> Self
pub fn new(config: MetaLearningConfig) -> Self
Create a new meta-learning engine
Sourcepub fn load_historical_records(&mut self, records: Vec<OptimizationRecord>)
pub fn load_historical_records(&mut self, records: Vec<OptimizationRecord>)
Load historical optimization records
Sourcepub fn add_record(&mut self, record: OptimizationRecord)
pub fn add_record(&mut self, record: OptimizationRecord)
Add a new optimization record
Sourcepub fn recommend_hyperparameters(
&mut self,
dataset_characteristics: &DatasetCharacteristics,
algorithm_name: &str,
) -> Result<MetaLearningRecommendation, Box<dyn Error>>
pub fn recommend_hyperparameters( &mut self, dataset_characteristics: &DatasetCharacteristics, algorithm_name: &str, ) -> Result<MetaLearningRecommendation, Box<dyn Error>>
Get hyperparameter recommendations for a new dataset
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaLearningEngine
impl !RefUnwindSafe for MetaLearningEngine
impl !Send for MetaLearningEngine
impl !Sync for MetaLearningEngine
impl Unpin for MetaLearningEngine
impl !UnwindSafe for MetaLearningEngine
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