Enum SamplerChoiceKind
pub enum SamplerChoiceKind {
Random,
Tpe,
Qmc,
Grid,
Nsga2,
}Expand description
Which sampler atune doctor --sampler names, for comparison against what
the study should be using.
Deliberately not SamplerKind: run/ask limit --sampler to what
they can construct today, but a study atune doctor reads may have been
created elsewhere (the Rust or Python API) with a sampler this CLI never
offers as a construction target — Nsga2 for a multi-objective study in
particular. Mirrors atune::auto_sampler::SamplerChoice’s
always-constructible variants; GpEi and Cmaes are not named here
because this binary does not compile the gp/cmaes features in.
Variants§
Random
Uniform independent draws.
Tpe
Tree-structured Parzen estimator.
Qmc
Low-discrepancy Sobol coverage.
Grid
Every point of a finite space, once each.
Nsga2
Multi-objective NSGA-II.
Trait Implementations§
§impl Clone for SamplerChoiceKind
impl Clone for SamplerChoiceKind
§fn clone(&self) -> SamplerChoiceKind
fn clone(&self) -> SamplerChoiceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SamplerChoiceKind
§impl Debug for SamplerChoiceKind
impl Debug for SamplerChoiceKind
§impl Display for SamplerChoiceKind
impl Display for SamplerChoiceKind
impl Eq for SamplerChoiceKind
§impl PartialEq for SamplerChoiceKind
impl PartialEq for SamplerChoiceKind
impl StructuralPartialEq for SamplerChoiceKind
§impl ValueEnum for SamplerChoiceKind
impl ValueEnum for SamplerChoiceKind
Auto Trait Implementations§
impl Freeze for SamplerChoiceKind
impl RefUnwindSafe for SamplerChoiceKind
impl Send for SamplerChoiceKind
impl Sync for SamplerChoiceKind
impl Unpin for SamplerChoiceKind
impl UnsafeUnpin for SamplerChoiceKind
impl UnwindSafe for SamplerChoiceKind
Blanket Implementations§
impl<T> Boilerplate for T
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
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T, U> Imply<T> for U
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 moreimpl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more