Enum Perturb
pub enum Perturb {
Factors {
down: f64,
up: f64,
},
}Expand description
How a scalar hyperparameter is perturbed during the explore step.
Variants§
Factors
Multiply each scalar by one of two factors, chosen per parameter by the
seeded RNG (Jaderberg et al.: 0.8 or 1.2). Integer parameters are
scaled, rounded to the nearest integer, and — like floats — clamped back
into the parameter’s recorded bounds so a fork never leaves the search
space. down must be finite and in (0, 1) and up finite and greater
than 1; malformed public enum values are rejected when a report uses
the scheduler.
Implementations§
Trait Implementations§
impl Copy for Perturb
impl StructuralPartialEq for Perturb
Auto Trait Implementations§
impl Freeze for Perturb
impl RefUnwindSafe for Perturb
impl Send for Perturb
impl Sync for Perturb
impl Unpin for Perturb
impl UnsafeUnpin for Perturb
impl UnwindSafe for Perturb
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