1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//! Differentially private hyperparameter optimization.
//!
//! # Module layout
//!
//! | module | responsibility |
//! |---|---|
//! | [`types`] | configuration and the search-component data types |
//! | [`budget_manager`] | privacy budget allocation and accounting |
//! | [`optimizer`] | the `PrivateHyperparameterOptimizer` driver |
//! | [`results`] | private aggregation and the selection report |
//! | [`selection`] | the private selection mechanisms and noisy statistics |
//! | [`gaussian_process`] | the GP surrogate and acquisition function |
//! | [`random_search`] | `NoisyOptimizer` for random search |
//! | [`bayesian_optimization`] | `NoisyOptimizer` for Bayesian optimization |
//! | [`functions`] | the `NoisyOptimizer` trait and function aliases |
//! | [`trait_impls`] | the `Default` impls |
//!
//! # 0.3.2 notes
//!
//! Hyperparameter *selection* is now differentially private. Previously
//! `HyperparameterNoiseMechanism` was stored and never matched on: the choice
//! was the exact argmax over utilities computed from the private data, which is
//! precisely what private HPO exists to avoid.
//!
//! Behavioural and API changes:
//!
//! * [`optimizer::PrivateHyperparameterOptimizer::new`] rejects a configuration with
//! `private_model_selection: true` that declares no objective sensitivity.
//! * [`types::PrivateHPOResults`] gained `selection`, which records whether the
//! returned configuration was chosen privately, by which mechanism, and at
//! what cost.
//! * [`types::SelectionParameters`] gained `delta` (needed to calibrate Gaussian
//! selection).
//! * `PrivateResultsAggregator::aggregate_results` takes `&mut self`, because
//! selecting now spends budget.
//! * The 16 `*_traits.rs` shells were collapsed into [`trait_impls`]; the two
//! that held real `NoisyOptimizer` implementations were renamed to
//! [`random_search`] and [`bayesian_optimization`].
pub use ;
pub use *;
pub use ;
pub use PrivateHyperparameterOptimizer;
pub use ;
pub use ;
pub use *;