pub struct GeneticAlgorithmCV<E, F, C> { /* private fields */ }Expand description
Genetic Algorithm for hyperparameter optimization
Implementations§
Source§impl<E, F, C> GeneticAlgorithmCV<E, F, C>
impl<E, F, C> GeneticAlgorithmCV<E, F, C>
Sourcepub fn new(estimator: E, parameter_space: ParameterSpace, cv: C) -> Self
pub fn new(estimator: E, parameter_space: ParameterSpace, cv: C) -> Self
Create a new genetic algorithm optimizer
Sourcepub fn config(self, config: GeneticAlgorithmConfig) -> Self
pub fn config(self, config: GeneticAlgorithmConfig) -> Self
Set the configuration
Auto Trait Implementations§
impl<E, F, C> Freeze for GeneticAlgorithmCV<E, F, C>
impl<E, F, C> RefUnwindSafe for GeneticAlgorithmCV<E, F, C>
impl<E, F, C> Send for GeneticAlgorithmCV<E, F, C>
impl<E, F, C> Sync for GeneticAlgorithmCV<E, F, C>
impl<E, F, C> Unpin for GeneticAlgorithmCV<E, F, C>
impl<E, F, C> UnsafeUnpin for GeneticAlgorithmCV<E, F, C>where
E: UnsafeUnpin,
C: UnsafeUnpin,
impl<E, F, C> UnwindSafe for GeneticAlgorithmCV<E, F, C>
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