pub struct Random {
pub seed: u64,
}Expand description
Uniform in every knob, independently.
The baseline and not a straw man: over a space where few knobs matter, random
search beats a grid, which spends its budget re-testing the ones that do not
(Bergstra and Bengio, 2012). It is what Tpe falls back to
before it has anything to learn from. Its point is a function of the seed
and the index, so two machines drawing trial 7 draw the same point.
Fields§
§seed: u64The seed. There is no “unseeded”: a search you cannot re-run is a result you cannot check.
Implementations§
Trait Implementations§
impl Eq for Random
impl StructuralPartialEq for Random
Auto Trait Implementations§
impl Freeze for Random
impl RefUnwindSafe for Random
impl Send for Random
impl Sync for Random
impl Unpin for Random
impl UnsafeUnpin for Random
impl UnwindSafe for Random
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