pub struct PgpeParams {Show 14 fields
pub popsize: i32,
pub max_evaluations: u64,
pub stop_fitness: f64,
pub lr_decay_steps: i32,
pub use_ranking: bool,
pub center_learning_rate: f64,
pub stdev_learning_rate: f64,
pub stdev_max_change: f64,
pub b1: f64,
pub b2: f64,
pub eps: f64,
pub decay_coef: f64,
pub seed: u64,
pub runid: i64,
}Expand description
Tunable inputs for Pgpe::new.
Fields§
§popsize: i32Population size; the implementation rounds odd values up for mirrored pairs.
max_evaluations: u64Maximum number of objective evaluations.
stop_fitness: f64Stop after finding an objective value strictly below this threshold.
lr_decay_steps: i32Number of updates over which the center learning rate decays.
use_ranking: boolUse rank-normalized utilities instead of raw objective differences.
center_learning_rate: f64Initial Adam learning rate for the distribution center.
stdev_learning_rate: f64Learning rate for the coordinate-wise standard deviations.
stdev_max_change: f64Maximum relative standard-deviation change per update.
b1: f64Adam first-moment decay coefficient.
b2: f64Adam second-moment decay coefficient.
eps: f64Adam numerical-stability constant.
decay_coef: f64Multiplicative learning-rate decay coefficient.
seed: u64Seed for the optimizer’s independent random stream.
runid: i64Additional run identifier mixed into seed.
Trait Implementations§
Source§impl Clone for PgpeParams
impl Clone for PgpeParams
Source§fn clone(&self) -> PgpeParams
fn clone(&self) -> PgpeParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PgpeParams
impl Debug for PgpeParams
Auto Trait Implementations§
impl Freeze for PgpeParams
impl RefUnwindSafe for PgpeParams
impl Send for PgpeParams
impl Sync for PgpeParams
impl Unpin for PgpeParams
impl UnsafeUnpin for PgpeParams
impl UnwindSafe for PgpeParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.