LeanMachineLearning

3.3. SequentialLearning.Algorithm🔗

Algorithms and environments

We define structures for stochastic, sequential algorithms and environments, and the notion of an algorithm-environment sequence, which is a sequence of actions and feedbacks generated by an algorithm interacting with an environment.

Main definitions

  • Algorithm 𝓐 𝓨: a stochastic, sequential algorithm.

  • Environment 𝓐 𝓨: a stochastic environment.

  • IsAlgEnvSeq A 𝓨 alg env P: an algorithm-environment sequence. That is, a sequence of actions A and feedback Y that have the correct conditional distributions to be generated by an algorithm alg interacting with an environment env, defined on a probability space (Ω, P).

  • IsAlgEnvSeqUntil A Y alg env P N: A and Y form an algorithm-environment sequence until time N.

  • prod_left alg: an Algorithm 𝓐 (𝓧 × 𝓨) obtained from an algorithm alg : Algorithm 𝓐 𝓨 by ignoring the 𝓧 component of each observation.

Module LeanMachineLearning.SequentialLearning.Algorithm contains 50 exposed declarations.