Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Covering number

From Wikipedia, the free encyclopedia
Not to be confused withWinding number ordegree of a continuous mapping, sometimes called "covering number" or "engulfing number".

Inmathematics, acovering number is the number ofballs 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 generalmetric spaces. Two related concepts are thepacking number, the number of disjoint balls that fit in a space, and themetric entropy, the number of points that fit in a space when constrained to lie at some fixed minimum distance apart.

Definition

[edit]

Let (M,d) be ametric space, letK be a subset ofM, and letr be a positivereal number. LetBr(x) denote the closedball of radiusr centered atx. A subsetC ofM is anr-external covering ofK if:

KxCBr(x){\displaystyle K\subseteq \bigcup _{x\in C}B_{r}(x)}.

In other words, for everyyK{\displaystyle y\in K} there existsxC{\displaystyle x\in C} such thatd(x,y)r{\displaystyle d(x,y)\leq r}.

If furthermoreC is a subset ofK, then it is anr-internal covering.

Theexternal covering number ofK, denotedNrext(K){\displaystyle N_{r}^{\text{ext}}(K)}, is the minimumcardinality of any external covering ofK. Theinternal covering number, denotedNrint(K){\displaystyle N_{r}^{\text{int}}(K)}, is the minimum cardinality of any internal covering.

A subsetP ofK is apacking ifPK{\displaystyle P\subseteq K} and the set{Br(x)}xP{\displaystyle \{B_{r}(x)\}_{x\in P}} ispairwise disjoint. Thepacking number ofK, denotedNrpack(K){\displaystyle N_{r}^{\text{pack}}(K)}, is the maximum cardinality of any packing ofK.

A subsetS ofK isr-separated if each pair of pointsx andy inS satisfiesd(x,y) ≥r. Themetric entropy ofK, denotedNrmet(K){\displaystyle N_{r}^{\text{met}}(K)}, is the maximum cardinality of anyr-separated subset ofK.

Examples

[edit]
  1. The metric space is the real lineR{\displaystyle \mathbb {R} }.KR{\displaystyle K\subset \mathbb {R} } is a set of real numbers whose absolute value is at mostk{\displaystyle k}. Then, there is an external covering of2kr{\textstyle \left\lceil {\frac {2k}{r}}\right\rceil } intervals of lengthr{\displaystyle r}, covering the interval[k,k]{\displaystyle [-k,k]}. Hence:
    Nrext(K)2kr{\displaystyle N_{r}^{\text{ext}}(K)\leq {\frac {2k}{r}}}
  2. The metric space is theEuclidean spaceRm{\displaystyle \mathbb {R} ^{m}} with theEuclidean metric.KRm{\displaystyle K\subset \mathbb {R} ^{m}} is a set of vectors whose length (norm) is at mostk{\displaystyle k}. IfK{\displaystyle K} lies in ad-dimensional subspace ofRm{\displaystyle \mathbb {R} ^{m}}, then:[1]: 337 
    Nrext(K)(2kdr)d{\displaystyle N_{r}^{\text{ext}}(K)\leq \left({\frac {2k{\sqrt {d}}}{r}}\right)^{d}}.
  3. The metric space is the space of real-valued functions, with theℓ-infinity metric. The covering numberNrint(K){\displaystyle N_{r}^{\text{int}}(K)} is the smallest numberk{\displaystyle k} such that there existh1,,hkK{\displaystyle h_{1},\ldots ,h_{k}\in K} such that, for allhK{\displaystyle h\in K} there existsi{1,,k}{\displaystyle i\in \{1,\ldots ,k\}} such that the supremum distance betweenh{\displaystyle h} andhi{\displaystyle h_{i}} is at mostr{\displaystyle r}. The above bound is not relevant since the space is{\displaystyle \infty }-dimensional. However, whenK{\displaystyle K} is acompact set, every covering of it has a finite sub-covering, soNrint(K){\displaystyle N_{r}^{\text{int}}(K)} is finite.[2]: 61 

Properties

[edit]
  1. The internal and external covering numbers, the packing number, and the metric entropy are all closely related. The following chain of inequalities holds for any subsetK of a metric space and any positive real numberr.[3]
    N2rmet(K)Nrpack(K)Nrext(K)Nrint(K)Nrmet(K){\displaystyle N_{2r}^{\text{met}}(K)\leq N_{r}^{\text{pack}}(K)\leq N_{r}^{\text{ext}}(K)\leq N_{r}^{\text{int}}(K)\leq N_{r}^{\text{met}}(K)}
  2. Each function except the internal covering number is non-increasing inr and non-decreasing inK. The internal covering number is monotone inr but not necessarily inK.

The following properties relate to covering numbers in the standardEuclidean space,Rm{\displaystyle \mathbb {R} ^{m}}:[1]: 338 

  1. If all vectors inK{\displaystyle K} are translated by a constant vectork0Rm{\displaystyle k_{0}\in \mathbb {R} ^{m}}, then the covering number does not change.
  2. If all vectors inK{\displaystyle K} are multiplied by a scalarkR{\displaystyle k\in \mathbb {R} }, then:
    for allr{\displaystyle r}:N|k|rext(kK)=Nrext(K){\displaystyle N_{|k|\cdot r}^{\text{ext}}(k\cdot K)=N_{r}^{\text{ext}}(K)}
  3. If all vectors inK{\displaystyle K} are operated by aLipschitz functionϕ{\displaystyle \phi } withLipschitz constantk{\displaystyle k}, then:
    for allr{\displaystyle r}:N|k|rext(ϕK)Nrext(K){\displaystyle N_{|k|\cdot r}^{\text{ext}}(\phi \circ K)\leq N_{r}^{\text{ext}}(K)}

Application to machine learning

[edit]

LetK{\displaystyle K} be a space of real-valued functions, with theℓ-infinity metric (see example 3 above).Suppose all functions inK{\displaystyle K} are bounded by a real constantM{\displaystyle M}.Then, the covering number can be used to bound thegeneralization errorof learning functions fromK{\displaystyle K},relative to the squared loss:[2]: 61 

Prob[suphK|GeneralizationError(h)EmpiricalError(h)|ϵ]Nrint(K)2expmϵ22M4{\displaystyle \operatorname {Prob} \left[\sup _{h\in K}{\big \vert }{\text{GeneralizationError}}(h)-{\text{EmpiricalError}}(h){\big \vert }\geq \epsilon \right]\leq N_{r}^{\text{int}}(K)\,2\exp {-m\epsilon ^{2} \over 2M^{4}}}

wherer=ϵ8M{\displaystyle r={\epsilon \over 8M}} andm{\displaystyle m} is the number of samples.

See also

[edit]

References

[edit]
  1. ^abShalev-Shwartz, Shai; Ben-David, Shai (2014).Understanding Machine Learning – from Theory to Algorithms. Cambridge University Press.ISBN 9781107057135.
  2. ^abMohri, Mehryar; Rostamizadeh, Afshin; Talwalkar, Ameet (2012).Foundations of Machine Learning. US, Massachusetts: MIT Press.ISBN 9780262018258.
  3. ^Tao, Terence (20 March 2014)."Metric entropy analogues of sum set theory". Retrieved2 June 2014.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Covering_number&oldid=1314228981"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp