Expand description
Hyperparameter samplers for optimization studies.
GridSampler— exhaustive cartesian product, lazy index-basedRandomSampler— uniform sampling with deterministic seedsBayesianSampler— TPE (Tree-Parzen Estimator) with explore/exploit
Re-exports§
pub use bayesian::BayesianSampler;
Modules§
Structs§
- Grid
Sampler - Exhaustive grid search over all combinations.
- Random
Sampler - Random search: sample uniformly from each dimension.
Traits§
- Sampler
- A sampler produces hyperparameter configurations from a search space.
Functions§
- hash_
u64 - Simple hash combiner for generating unique RNG states.
- pseudo_
random - Simple deterministic pseudo-random (public for use by BayesianSampler): hash-based, returns [0.0, 1.0).
- sample_
float - Sample a float from [low, high] given t in [0, 1), respecting scale.
- splitmix64
- SplitMix64 hash function.