File size: 1,739 Bytes
4a56cd6 | 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 | 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
|