Empirical misclassification risk Created 2026-09-29 Updated 2026-10-05
On labelled examples , the empirical misclassification risk isAn empirical risk minimizer chooses a classifier attaining the smallest value over its hypothesis class.
Learnability and VC Dimension in MIT 6.790 2026-10-31
Course notes on VC dimension and empirical risk minimization, including the VC uniform convergence theorem.
The two-interval approximation by one interval supplies an approximation guarantee for every input probability distribution . Merge overlapping target intervals, and write the target positive set as at most two disjoint ordered intervals . Put and . If there is only one nonempty component, the target already belongs to the interval hypothesis class and has zero misclassification risk. If the interval notation permits empty intervals and the target is empty, choose that same empty interval in .
In the two-component case, choosing the heavier component as the hypothesis loses only the lighter component, so its misclassification risk isAlternatively, choose the single interval spanning both components. This produces no false negatives, and its false positives lie in the gap. Its misclassification risk is at most . Both candidates are in , so there exists an interval withFor the last step, use if , and if . This avoids any assumption that an empty interval or the whole real line belongs to .
Use empirical risk minimization over intervals on independent labelled examples. The generalization result needed here is the VC uniform convergence theorem: for a binary hypothesis class of finite VC dimension , there is a universal constant such that, for any labelled-data probability distribution and , a sample sizeensures, with probability at least , that every hypothesis's empirical misclassification risk differs from its misclassification risk by at most . This theorem does not require the labels to be realizable by the hypothesis class.[ref]
Learnability and VC Dimension in MIT 6.790. Sections “Uniform Convergence implies Agnostic PAC Learnability” and “Fundamental Theorem of Learnability”
The interval hypothesis class has VC dimension two: any two ordered points can receive all four labellings, whereas an interval cannot label three ordered points . Take and choose an interval minimizing the empirical misclassification risk. On the simultaneous convergence event,ThereforeSince and are fixed constants, examples suffice, which is polynomial in as required by the paper's definition of weak PAC learning.
For completeness, empirical risk minimization over intervals is computationally effective. Sort the sample and group equal coordinates, since one interval cannot split identical inputs. Give each group weight equal to the number of positive labels minus the number of negative labels in that group. The number of empirical mistakes made by an interval is the total number of positives minus the total weight of the consecutive groups it contains. Select the consecutive block of maximum weight, or select a finite interval outside the sample if every nonempty block has negative weight. This enumerates all possible sample labellings by intervals and attains the minimum empirical misclassification risk; sorting and a maximum-block scan are sufficient. The time complexity is .
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 1 31J b Solution Created 2026-09-24 Updated 2026-09-29
For define the misclassification lossand take the loss classWrite and , so the misclassification risk and empirical misclassification risk are and .
Because is an empirical risk minimizer, . Hence its excess risk obeysIntroduce an independent ghost sample and perform Rademacher symmetrization. The contribution involving the fixed function has zero expectation over the Rademacher signs, so each of the two independent sample terms has supremum expectation . Therefore
Every difference takes values in . Replacing one observation can consequently change by at most . Applying the Bounded differences inequality with gives, except on an event of probability at most ,Combining these inequalities proves, with probability at least ,
For a zero-one-valued loss class , the excess misclassification risk of an empirical risk minimizer over a population minimizer satisfieswith probability at least . The proof combines Rademacher symmetrization with the Bounded differences inequality for the supremum of the empirical excess-loss process.
The observable version isIt follows by another application of the Bounded differences inequality to the Empirical Rademacher complexity.
VC uniform convergence theorem 2026-10-31
A finite VC dimension gives simultaneous control of empirical misclassification risk for every member of a hypothesis class. Sufficient independent sample size is . The displayed event implies an empirical risk minimization rule has misclassification risk at most , including for unrealizable labels.[ref]
Learnability and VC Dimension in MIT 6.790. Uniform convergence and quantitative fundamental theorem