fbpx
Wikipedia

Covering number

In mathematics, a covering number is the number of spherical balls of a given size needed to completely cover a given space, with possible overlaps. 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.

Definition edit

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:

 .

In other words, for every   there exists   such that  .

If furthermore C is a subset of K, then it is an r-internal covering.

The external covering number of K, denoted  , is the minimum cardinality of any external covering of K. The internal covering number, denoted  , is the minimum cardinality of any internal covering.

A subset P of K is a packing if   and the set   is pairwise disjoint. The packing number of K, denoted  , is the maximum cardinality of any packing of 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  , is the maximum cardinality of any r-separated subset of K.

Examples edit

  1. The metric space is the real line  .   is a set of real numbers whose absolute value is at most  . Then, there is an external covering of   intervals of length  , covering the interval  . Hence:
     
  2. The metric space is the Euclidean space   with the Euclidean metric.   is a set of vectors whose length (norm) is at most  . If   lies in a d-dimensional subspace of  , then:[1]: 337 
     .
  3. The metric space is the space of real-valued functions, with the l-infinity metric. The covering number   is the smallest number   such that, there exist   such that, for all   there exists   such that the supremum distance between   and   is at most  . The above bound is not relevant since the space is  -dimensional. However, when   is a compact set, every covering of it has a finite sub-covering, so   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 subset K of a metric space and any positive real number r.[3]
     
  2. Each function except the internal covering number is non-increasing in r and non-decreasing in K. The internal covering number is monotone in r but not necessarily in K.

The following properties relate to covering numbers in the standard Euclidean space,  :[1]: 338 

  1. If all vectors in   are translated by a constant vector  , then the covering number does not change.
  2. If all vectors in   are multiplied by a scalar  , then:
    for all  :  
  3. If all vectors in   are operated by a Lipschitz function   with Lipschitz constant  , then:
    for all  :  

Application to machine learning edit

Let   be a space of real-valued functions, with the l-infinity metric (see example 3 above). Suppose all functions in   are bounded by a real constant  . Then, the covering number can be used to bound the generalization error of learning functions from  , relative to the squared loss:[2]: 61 

 

where   and   is the number of samples.

See also edit

References edit

  1. ^ a b Shalev-Shwartz, Shai; Ben-David, Shai (2014). Understanding Machine Learning – from Theory to Algorithms. Cambridge University Press. ISBN 9781107057135.
  2. ^ a b Mohri, Mehryar; Rostamizadeh, Afshin; Talwalkar, Ameet (2012). Foundations of Machine Learning. US, Massachusetts: MIT Press. ISBN 9780262018258.
  3. ^ Tao, Terence. "Metric entropy analogues of sum set theory". Retrieved 2 June 2014.

covering, number, confused, with, winding, number, degree, continuous, mapping, sometimes, called, covering, number, engulfing, number, mathematics, covering, number, number, spherical, balls, given, size, needed, completely, cover, given, space, with, possibl. Not to be confused with Winding number or degree of a continuous mapping sometimes called covering number or engulfing number In mathematics a covering number is the number of spherical balls of a given size needed to completely cover a given space with possible overlaps 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 Contents 1 Definition 2 Examples 3 Properties 4 Application to machine learning 5 See also 6 ReferencesDefinition editLet 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 x C B r x displaystyle K subseteq bigcup x in C B r x nbsp In other words for every y K displaystyle y in K nbsp there exists x C displaystyle x in C nbsp such that d x y r displaystyle d x y leq r nbsp If furthermore C is a subset of K then it is an r internal covering The external covering number of K denoted N r ext K displaystyle N r text ext K nbsp is the minimum cardinality of any external covering of K The internal covering number denoted N r int K displaystyle N r text int K nbsp is the minimum cardinality of any internal covering A subset P of K is a packing if P K displaystyle P subseteq K nbsp and the set B r x x P displaystyle B r x x in P nbsp is pairwise disjoint The packing number of K denoted N r pack K displaystyle N r text pack K nbsp is the maximum cardinality of any packing of 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 N r met K displaystyle N r text met K nbsp is the maximum cardinality of any r separated subset of K Examples editThe metric space is the real line R displaystyle mathbb R nbsp K R displaystyle K subset mathbb R nbsp is a set of real numbers whose absolute value is at most k displaystyle k nbsp Then there is an external covering of 2 k r textstyle left lceil frac 2k r right rceil nbsp intervals of length r displaystyle r nbsp covering the interval k k displaystyle k k nbsp Hence N r ext K 2 k r displaystyle N r text ext K leq frac 2k r nbsp The metric space is the Euclidean space R m displaystyle mathbb R m nbsp with the Euclidean metric K R m displaystyle K subset mathbb R m nbsp is a set of vectors whose length norm is at most k displaystyle k nbsp If K displaystyle K nbsp lies in a d dimensional subspace of R m displaystyle mathbb R m nbsp then 1 337 N r ext K 2 k d r d displaystyle N r text ext K leq left frac 2k sqrt d r right d nbsp The metric space is the space of real valued functions with the l infinity metric The covering number N r int K displaystyle N r text int K nbsp is the smallest number k displaystyle k nbsp such that there exist h 1 h k K displaystyle h 1 ldots h k in K nbsp such that for all h K displaystyle h in K nbsp there exists i 1 k displaystyle i in 1 ldots k nbsp such that the supremum distance between h displaystyle h nbsp and h i displaystyle h i nbsp is at most r displaystyle r nbsp The above bound is not relevant since the space is displaystyle infty nbsp dimensional However when K displaystyle K nbsp is a compact set every covering of it has a finite sub covering so N r int K displaystyle N r text int K nbsp is finite 2 61 Properties editThe internal and external covering numbers the packing number and the metric entropy are all closely related The following chain of inequalities holds for any subset K of a metric space and any positive real number r 3 N 2 r met K N r pack K N r ext K N r int K N r met 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 nbsp Each function except the internal covering number is non increasing in r and non decreasing in K The internal covering number is monotone in r but not necessarily in K The following properties relate to covering numbers in the standard Euclidean space R m displaystyle mathbb R m nbsp 1 338 If all vectors in K displaystyle K nbsp are translated by a constant vector k 0 R m displaystyle k 0 in mathbb R m nbsp then the covering number does not change If all vectors in K displaystyle K nbsp are multiplied by a scalar k R displaystyle k in mathbb R nbsp then for all r displaystyle r nbsp N k r ext k K N r ext K displaystyle N k cdot r text ext k cdot K N r text ext K nbsp If all vectors in K displaystyle K nbsp are operated by a Lipschitz function ϕ displaystyle phi nbsp with Lipschitz constant k displaystyle k nbsp then for all r displaystyle r nbsp N k r ext ϕ K N r ext K displaystyle N k cdot r text ext phi circ K leq N r text ext K nbsp Application to machine learning editLet K displaystyle K nbsp be a space of real valued functions with the l infinity metric see example 3 above Suppose all functions in K displaystyle K nbsp are bounded by a real constant M displaystyle M nbsp Then the covering number can be used to bound the generalization error of learning functions from K displaystyle K nbsp relative to the squared loss 2 61 Prob sup h K GeneralizationError h EmpiricalError h ϵ N r int K 2 exp m ϵ 2 2 M 4 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 nbsp where r ϵ 8 M displaystyle r epsilon over 8M nbsp and m displaystyle m nbsp is the number of samples See also editPolygon covering Kissing numberReferences edit a b Shalev Shwartz Shai Ben David Shai 2014 Understanding Machine Learning from Theory to Algorithms Cambridge University Press ISBN 9781107057135 a b Mohri Mehryar Rostamizadeh Afshin Talwalkar Ameet 2012 Foundations of Machine Learning US Massachusetts MIT Press ISBN 9780262018258 Tao Terence Metric entropy analogues of sum set theory Retrieved 2 June 2014 Retrieved from https en wikipedia org w index php title Covering number amp oldid 1096824512, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.