§30.2.1: axis-aligned rectangles in ℝ^d have a compression scheme of size 2d (extremal positive examples per dimension, minimal enclosing rectangle)
ProvedUnderstandingML.box_compressioncompression-schemesrectangles
§30.2.1 (Axis Aligned Rectangles). Consider the algorithm that works as follows: for each dimension, choose the two positive examples with extremal values at this dimension. Define to be the function that returns the minimal enclosing rectangle. Then, for , we have that in the realizable case, .
Formally: the class of closed axis-aligned boxes in has a compression scheme of size .
Preamble
import Definitions.Def_UnderstandingML_Compression open MeasureTheory open scoped InnerProductSpace
Formal statement
namespace UnderstandingML /-- **§30.2.1** (p. 412). The class of axis-aligned rectangles in `ℝ^d` has a compression scheme of size `k = 2d`: for each dimension `A` selects the two positive examples with extremal values, and `B` returns the minimal enclosing rectangle. -/ theorem box_compression (d : ℕ) : HasCompressionScheme (boxClass d) (2 * d) := by sorry end UnderstandingML
Source
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014, doi:10.1017/CBO9781107298019, §30.2.1 p. 412
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.