3.5. SequentialLearning.BayesStationaryEnv
Bayesian stationary environments
This file defines the structure IsBayesAlgEnvSeq and provides its basic properties.
Main definitions
-
IsBayesAlgEnvSeq Q κ alg E A Y P: states that there is a measureP : Measure Ωsuch that the parameterE : Ω → 𝓔has lawQand that the sequences of actionsA : ℕ → Ω → 𝓐and feedbacksY : ℕ → Ω → 𝓨are generated by the algorithmalg : Algorithm 𝓐 𝓨interacting with an underlying environment that depends onEandκ(stationaryEnv (κ.sectR (E ω))). -
bayesTrajMeasure Q κ alg: for any choice of probability measureQ : Measure 𝓔, Markov kernelκ : Kernel (𝓔 × 𝓐) 𝓨, and algorithmalg : Algorithm 𝓐 𝓨, provides a probability measureP : Measure (ℕ → 𝓐 × 𝓔 × 𝓨)on a space that carriesE,A, andYsuch thatIsBayesAlgEnvSeq Q κ alg E A Y P. -
bayesTrajMeasurePosterior Q κ alg n: aKernel (Fin n → 𝓐 × 𝓨) 𝓔that represents the posterior overEgiven the history before timen(thenfirst action-feedback pairs) under the priorQand the algorithmalg, assuming that the kernelκspecifies howEgives rise to the underlying (stationary) environment. See alsoLeanMachineLearning/SequentialLearning/AlgorithmDensityBayes.lean.
Main results
-
ae_IsAlgEnvSeq h: ifh : IsBayesAlgEnvSeq Q κ alg E A Y P, forQ-almost everye : 𝓔,IsAlgEnvSeq A' Y' alg (stationaryEnv (κ.sectR e)) (condDistrib (trajectory A Y) E P e)for some sequence of actionsA' : ℕ → (ℕ → 𝓐 × 𝓨) → 𝓐and sequence of feedbacksY' : ℕ → (ℕ → 𝓐 × 𝓨) → 𝓨. Intuitively, if the observable trajectory is generated by an underlying parametere : 𝓔, the measure that carries theIsBayesAlgEnvSeqstructure reveals a measure that carries anIsAlgEnvSeqstructure under the environmentstationaryEnv (κ.sectR e)and the same algorithm. This allows transferring results from theIsAlgEnvSeqstructure to theIsBayesAlgEnvSeqstructure.
Module LeanMachineLearning.SequentialLearning.BayesStationaryEnv contains 21 exposed declarations.
-
Learning.IsBayesAlgEnvSeq -
Learning.IsBayesAlgEnvSeq.hasCondDistrib_action' -
Learning.IsBayesAlgEnvSeq.hasCondDistrib_feedback' -
Learning.IsBayesAlgEnvSeq.hasLaw_action_zero -
Learning.IsBayesAlgEnvSeq.hasCondDistrib_action_zero -
Learning.IsBayesAlgEnvSeq.condDistrib_param_history_zero -
Learning.IsBayesAlgEnvSeq.hasCondDistrib_IT_action -
Learning.IsBayesAlgEnvSeq.hasCondDistrib_IT_feedback -
Learning.IsBayesAlgEnvSeq.hasLaw_IT_hist -
Learning.IsBayesAlgEnvSeq.ae_IsAlgEnvSeq -
Learning.bayesStationaryEnv -
Learning.bayesStationaryEnv_feedback_zero -
Learning.bayesStationaryEnv_feedback_succ -
Learning.ν0_bayesStationaryEnv -
Learning.IsAlgEnvSeq.isBayesAlgEnvSeq -
Learning.IT.bayesTrajMeasure -
Learning.IT.instIsProbabilityMeasureForallNatProdBayesTrajMeasure -
Learning.IT.isBayesAlgEnvSeq_bayesTrajMeasure -
Learning.IT.bayesTrajMeasurePosterior -
Learning.IT.instIsMarkovKernelForallFinProdBayesTrajMeasurePosterior -
Learning.IT.bayesTrajMeasurePosterior_zero