3.8. SequentialLearning.Deterministic
Deterministic algorithms and environments
A deterministic algorithm chooses its action in a deterministic way. That is, that action is given by a measurable function of the history instead of a general Markov kernel. Similarly, a deterministic environment gives feedback in a deterministic way.
Main definitions
We introduce two typeclasses IsDeterministicAlg and IsDeterministicEnv to express that
an algorithm or an environment is deterministic. We also give definitions for the initial action
and the next action of a deterministic algorithm, and for the feedback functions of a deterministic
environment. Finally, we give a construction of a deterministic algorithm and environment from
measurable functions.
-
IsDeterministicAlg alg: a typeclass expressing that the algorithmalgis deterministic. -
IsDeterministicEnv env: a typeclass expressing that the environmentenvis deterministic. -
actionZero alg: the initial action of a deterministic algorithmalg. -
nextAction alg n: the function that gives the next action of a deterministic algorithmalgat stepn, as a function of the history. -
feedbackFunZero env: the function that gives the initial feedback of a deterministic environmentenv. -
feedbackFun env n: the function that gives the feedback of a deterministic environmentenvat stepn, as a function of the history and the current action. -
detAlgorithm nextA h_next action0: a deterministic algorithm that chooses its action according to the measurable functionnextA(with proof of measurabilityh_next), with initial actionaction0.
Module LeanMachineLearning.SequentialLearning.Deterministic contains 39 exposed declarations.
-
Learning.IsDeterministicAlg -
Learning.actionZero -
Learning.nextAction -
Learning.measurable_nextAction -
Learning.p0_eq_dirac -
Learning.policy_eq_deterministic -
Learning.IsDeterministicAlg.hasLaw_action_zero_of_IsAlgEnvSeqUntil -
Learning.IsDeterministicAlg.action_zero_of_IsAlgEnvSeqUntil -
Learning.IsDeterministicAlg.action_ae_eq_of_IsAlgEnvSeqUntil -
Learning.IsDeterministicAlg.hasLaw_action_zero -
Learning.IsDeterministicAlg.action_zero_ae_eq -
Learning.IsDeterministicAlg.action_ae_eq -
Learning.IsDeterministicAlg.action_ae_all_eq -
Learning.IsDeterministicEnv -
Learning.feedbackFunZero -
Learning.measurable_feedbackFunZero -
Learning.ν0_eq_deterministic -
Learning.feedbackFun -
Learning.measurable_feedbackFun -
Learning.feedback_eq_deterministic -
Learning.IsDeterministicEnv.hasCondDistrib_feedback_zero -
Learning.IsDeterministicEnv.hasCondDistrib_feedback -
Learning.detAlgorithm -
Learning.detAlgorithm_p0 -
Learning.detAlgorithm_policy -
Learning.instIsDeterministicAlgDetAlgorithm -
Learning.actionZero_detAlgorithm -
Learning.nextAction_detAlgorithm -
Learning.detEnvironment -
Learning.instIsDeterministicEnvDetEnvironment -
Learning.feedbackFunZero_detEnvironment -
Learning.feedbackFun_detEnvironment -
Learning.IsAlgEnvSeq.hasLaw_action_zero_detAlgorithm -
Learning.IsAlgEnvSeq.action_zero_detAlgorithm -
Learning.IsAlgEnvSeq.action_detAlgorithm_ae_eq -
Learning.IsAlgEnvSeq.action_detAlgorithm_ae_all_eq -
Learning.IsAlgEnvSeqUntil.hasLaw_action_zero_detAlgorithm -
Learning.IsAlgEnvSeqUntil.action_zero_detAlgorithm -
Learning.IsAlgEnvSeqUntil.action_detAlgorithm_ae_eq