for a training set (§4.2, p. 31)
ProvedSuttonTD.Convergence.ml_visits_eqmaximum-likelihoodp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1temporal-difference
Let a training set be given in which every nonterminal state appears. Let be the number of times appears, the number of sequences beginning in , and the maximum-likelihood transition matrix. Then
This is the analogue of (7) needed to carry the proof of Theorem 2 over to Theorem 3.
Preamble
import Definitions.Def_SuttonTD_Convergence_TrainingSet open Matrix
Formal statement
namespace SuttonTD.Convergence
/-- **`d̂ᵀ = μ̂ᵀ(I − Q̂)⁻¹`** (Sutton 1988, §4.2, p. 31, PDF p. 23): for a training set in which
every nonterminal state appears, the visit counts `d̂_i`, the start counts `[μ̂]_i` and the
maximum-likelihood matrix `Q̂` satisfy `d̂ᵀ = μ̂ᵀ(I − Q̂)⁻¹` (counts cast to `ℝ`). -/
theorem ml_visits_eq {N : Type*} [Fintype N] [DecidableEq N] {S : ℕ}
(D : TrainingSet N S) (happ : ∀ i, 0 < D.visits i) :
(fun i => (D.visits i : ℝ)) = (fun i => (D.starts i : ℝ)) ᵥ* (1 - D.Qhat)⁻¹ := by sorry
end SuttonTD.Convergence
Source
Sutton (1988), Machine Learning 3:9–44, §4.2, p. 31 (PDF p. 23)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.