Download data/lean/OAI/Probability/GaussianRegression/Model.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.74 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/GaussianRegression/Model.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/GaussianRegression/Model.lean
-
curl -L -o Model.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/GaussianRegression/Model.lean
1.74 kB
| import OAI.Probability.ProjectionMoments.Model | |
| namespace OAI | |
| /-! | |
| Finite-state Gaussian regression with noiseless labels and angular accuracy. | |
| -/ | |
| open MeasureTheory ProbabilityTheory Set Filter | |
| open scoped ENNReal NNReal RealInnerProductSpace | |
| noncomputable section | |
| universe u | |
| namespace NoiselessRegression | |
| namespace Learner | |
| def success {d M T : β} {Ξ© : Type u} [MeasurableSpace Ξ©] | |
| (L : Learner d M T Ξ©) (Ο : Measure Ξ©) (Ξ΅ : β) (s : UnitSphere d) : ββ₯0β := | |
| (Ο.prod (sampleLaw d T)) | |
| {z | angularError s (L.estimate s z.1 z.2) β€ Ξ΅} | |
| end Learner | |
| def SubquadraticMemory : Prop := | |
| β c : β, 0 < c β§ β M : β β β, | |
| Asymptotics.IsLittleO atTop (fun d => (M d : β)) (fun d => (d : β) ^ 2) β | |
| β dβ : β, β d : β, dβ β€ d β β T : β, β Ξ΅ : β, | |
| 0 < Ξ΅ β Ξ΅ β€ 1 / 10 β | |
| β (Ξ© : Type u) [MeasurableSpace Ξ©] (Ο : Measure Ξ©), IsProbabilityMeasure Ο β | |
| β L : Learner d (M d) T Ξ©, L.Admissible Ο β | |
| (((2 : β) / (3 : β) : ββ₯0β) β€ L.uniformSuccess Ο Ξ΅ β¨ | |
| β s, ((2 : β) / (3 : β) : ββ₯0β) β€ L.success Ο Ξ΅ s) β | |
| c * (d : β) * Real.log (1 / Ξ΅) β€ (T : β) | |
| def FixedQuadraticMemory : Prop := | |
| β Aβ : β, 0 < Aβ β β c : β, 0 < c β§ β dβ : β, | |
| β d : β, dβ β€ d β β M T : β, (M : β) β€ Aβ * (d : β) ^ 2 β | |
| β Ξ΅ : β, 0 < Ξ΅ β Ξ΅ β€ 1 / 10 β | |
| β (Ξ© : Type u) [MeasurableSpace Ξ©] (Ο : Measure Ξ©), IsProbabilityMeasure Ο β | |
| β L : Learner d M T Ξ©, L.Admissible Ο β | |
| ((2 : β) / (3 : β) : ββ₯0β) β€ L.uniformSuccess Ο Ξ΅ β | |
| c * (d : β) * Real.log (1 / Ξ΅) β€ (T : β) | |
| end NoiselessRegression | |
| end | |
| end OAI | |