In mathematics, a covering number is the number of balls of a given size needed to completely cover a given space, with possible overlaps between the balls. The covering number quantifies the size of a set and can be applied to general metric spaces. Two related concepts are the packing number, the number of disjoint balls that fit in a space, and the metric entropy, the number of points that fit in a space when constrained to lie at some fixed minimum distance apart.
Let (M, d) be a metric space, let K be a subset of M, and let r be a positive real number. Let Br(x) denote the ball of radius r centered at x. A subset C of M is an r-external covering of K if:
K\subseteqcupxBr(x)
y\inK
x\inC
d(x,y)\leqr
If furthermore C is a subset of K, then it is an r-internal covering.
The external covering number of K, denoted
ext | |
N | |
r(K) |
int | |
N | |
r(K) |
A subset P of K is a packing if
P\subseteqK
\{Br(x)\}x
pack | |
N | |
r(K) |
A subset S of K is r-separated if each pair of points x and y in S satisfies d(x, y) ≥ r. The metric entropy of K, denoted
met | |
N | |
r(K) |
The following properties relate to covering numbers in the standard Euclidean space,
Rm
Let
K
K
M
K
\operatorname{Prob}\left[ \suph\in\vertGeneralizationError(h)-EmpiricalError(h)\vert\geq\epsilon \right]\leq
int | |
N | |
r |
(K)2\exp{-m\epsilon2\over2M4}
where
r={\epsilon\over8M}
m