hyperopt-core 0.1.1

Core abstractions for hyperopt-rs: Study, Trial, and the Sampler/Pruner/Storage extension traits (define-by-run HPO).
Documentation
  • Coverage
  • 73.24%
    52 out of 71 items documented2 out of 4 items with examples
  • Size
  • Source code size: 40.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.32 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mi7plus/hyperopt-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mi7plus

hyperopt-core

Core abstractions for hyperopt-rs, an Optuna-shaped, define-by-run hyperparameter optimization framework for Rust.

This crate defines the foundational types and the three extension traits everything else plugs into, so a third party can depend on just hyperopt-core to implement a new sampler or pruner without pulling in SQLite or rayon:

  • Study, Trial, TrialContext, Value, Distribution, StudyState
  • Sampler — a pluggable search algorithm
  • Pruner — a pluggable early-stopping policy
  • Storage — where trial history lives
  • Suggest — the portable objective interface (runs local or distributed)

Most users want the hyperopt-rs facade instead, which re-exports this crate alongside the samplers, pruners, and storage backends behind a StudyBuilder.

See the repository for the full guide.

License

MIT © mi7plus