Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.mc-dropout
AHoF V62 MC Dropout Uncertainty: estimate predictive uncertainty from the variance of stochastic-dropout forward passes and flag an input uncertain when that variance reaches the threshold: uncertain? variance threshold = decide (threshold <= variance). Proved native and axiom-free (decision, two positive instances, at-most certificate, negative instance). Requires audit/decide-nnrat-at-most, nnrat/at-most, nnrat/decide-at-most-true-sound (all in the D63 checkpoint). Scope (measured by the kernel): this module has 4 worked instances (statements about specific values). None of its theorems is a guarantee about the algorithm for all inputs; `lein verify rainbow.algorithms.proofs.ahof.mc-dropout` prints this classification.
mc-dropout/uncertain?
mc-dropout/uncertain? : (x₁ x₂ : ℚ≥0) → data/Bool
ℚ≥0 = nnrat/NonnegativeRational
mc-dropout/high-variance-uncertain
mc-dropout/high-variance-uncertain : → bo/is-safe 3/4 1/2 = data/true
= = equality/Eq
mc-dropout/boundary-uncertain
mc-dropout/boundary-uncertain : → bo/is-safe 1/2 1/2 = data/true
= = equality/Eq
mc-dropout/variance-certificate
mc-dropout/variance-certificate : → 1/2 ≤ 3/4
≤ = nnrat/at-most
mc-dropout/low-variance-confident
mc-dropout/low-variance-confident : → bo/is-safe 1/4 1/2 = data/false
= = equality/Eq