Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.bayesian-opt
Kochenderfer surrogate-optimization / model-validation cores as higher-order-function compositions, proved axiom-free, extending the 222 AHoF catalog: O19.1 probability of improvement : acquisition prefers candidates beating the best O19.3 SafeOpt : query only within the high-confidence safe set O17.14 0.632 bootstrap : convex combo 0.368*train + 0.632*test error O17.12 bootstrap generalization : mean holdout error over resamples Improvement / safety are decidable-order tests with soundness (decide-at-most-true- sound); the bootstrap estimators reuse nnrat/wsum2 (bounded by the convex bound). Native and axiom-free; chains nnrat-convex (-> wsum2, minmax) on d63.
bo/is-improvement
bo/is-improvement : (x₁ x₂ : ℚ≥0) → data/Bool
ℚ≥0 = nnrat/NonnegativeRational
bo/is-safe
bo/is-safe : (x₁ x₂ : ℚ≥0) → data/Bool
ℚ≥0 = nnrat/NonnegativeRational
bo/bootstrap-632
bo/bootstrap-632 : (x₁ x₂ x₃ x₄ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
bo/bootstrap-mean
bo/bootstrap-mean : (x₁ x₂ x₃ x₄ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
bo/improvement-sound
bo/improvement-sound : (candidate best : ℚ≥0) (ok : bo/is-safe candidate best = data/true) → best ≤ candidate
= = equality/Eqℚ≥0 = nnrat/NonnegativeRational≤ = nnrat/at-most
bo/safe-sound
bo/safe-sound : (lcb threshold : ℚ≥0) (ok : bo/is-safe lcb threshold = data/true) → threshold ≤ lcb
= = equality/Eqℚ≥0 = nnrat/NonnegativeRational≤ = nnrat/at-most
bo/bootstrap-632-within-max
bo/bootstrap-632-within-max : (w-train w-test train test : ℚ≥0) (hw : w-train + w-test = 1) → bo/bootstrap-632 w-train w-test train test ≤ minmax/max train test
+ = nnrat/add1 = nnrat/one= = nnrat/equivalent: equality of rational valuesℚ≥0 = nnrat/NonnegativeRational≤ = nnrat/at-most
bo/bootstrap-mean-example
bo/bootstrap-mean-example : → bo/bootstrap-632 1/2 1/2 1 0 = 1/2
1 = nnrat/one= = nnrat/equivalent: equality of rational values