MLF Lecture 4 Feasibility of Learning

機器學習基石(Machine Learning Foundations)笔记第三弹: 有限假说集合下 Machine Learning Possibility 的证明

Hoeffding's inequality(霍夫丁不等式)

N:样本容量υ:样本概率μ:总体概率

in big sample (N latge), v is probably close to μ (within ϵ)

单一 Hypothesis 检验

  • Ein(h):已知数据中 h 的错误率 $\rightarrow \frac1N \sum_{n=1}^N[[h(x_n) \neq y_n]]$
  • Eout:未知数据中 h 的错误率 $\rightarrow \mathop\epsilon\limits_{x \sim p}[[h(x) \neq f(x)]]$

由 Hoeffding's inequality 可以得,对单一的 hypothesis h,有

  • 当 N 足够大时,有 Ein(h) ≈ Eout(h)
  • 所以可以通过 Ein(h) 推测 Eout(h) 从而可以通过 h(x)与已有数据 yn 的吻合程度验证 how good it is

有限数量 Hypothesis 检验

  1. BAD Data:

    Ein(h) 和 Eout(h) 在该组数据上相差很大

    ftrightarrow \end{aligned}

    BAD Data 令 A(Algorithm)不能自由地选择,即数据不够理想,A 不能完全根据已有数据检验 h 的好坏

    对 M 个 Hypothesis {h1, h2…, hM},如果存在任何一个 h 为 BAD,则该 Data 为 BAD

  2. BAD Data 出现概率上界

    \end{aligned}

    P_D [ D h_2] + + P_D [ D h_M ] \
    & 2exp(-2^2N) + 2exp(-2^2N) + + 2exp(-2^2N) \
    = & 2 exp(-2^2N) \end{aligned}

    • finite-bin version of Hoeffding, valid for all M, N and ϵ
    • does not depend on (therefore no need to know) any Eout(hm)
    • ' Ein(g) = Eout(g) ' is PAC (Probably approximately correct), regardless of 𝒜
    • 'most reasonable' 𝒜 (like PLA/pocket): pick the hm with Ein(hm) as g

    因此,通过假设我们的所有数据(已知的和未知的)符合某一个分布,那么在有限 Hypothesis 的条件下,Machine Learning 被证明是可能的

    Statistical Learning Flow