pub struct NeatParams {Show 15 fields
pub population_size: usize,
pub delta_c1: f64,
pub delta_c2: f64,
pub delta_c3: f64,
pub delta_threshold: f64,
pub species_death_time: usize,
pub champion_copy_size: usize,
pub weight_mutation_chance: f64,
pub weight_reset_chance: f64,
pub disable_chance: f64,
pub no_crossover_chance: f64,
pub interspecies_mating_rate: f64,
pub new_neuron_chance: f64,
pub new_weight_chance: f64,
pub survival_threshold: f64,
}
Expand description
Structure for NEAT hyperparameters
Fields§
§population_size: usize
§delta_c1: f64
§delta_c2: f64
§delta_c3: f64
§delta_threshold: f64
§species_death_time: usize
§champion_copy_size: usize
§weight_mutation_chance: f64
§weight_reset_chance: f64
§disable_chance: f64
§no_crossover_chance: f64
§interspecies_mating_rate: f64
§new_neuron_chance: f64
§new_weight_chance: f64
§survival_threshold: f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NeatParams
impl RefUnwindSafe for NeatParams
impl Send for NeatParams
impl Sync for NeatParams
impl Unpin for NeatParams
impl UnwindSafe for NeatParams
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