Learn Before
Formula
Finite Sample Bounds for Test Error via Hoeffding's Inequality
While asymptotic convergence provides intuition for how test error behaves as the dataset size approaches infinity, practical machine learning relies on finite datasets. Because the classification error is a bounded random variable (between and ), valid finite sample bounds can be established using Hoeffding's inequality. It guarantees that the probability of the empirical error exceeding the true error by a margin of or more is exponentially bounded:
0
1
Updated 2026-05-03
Tags
D2L
Dive into Deep Learning @ D2L