Periodic continued fraction: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>JohnCD
Undid revision 589572749 by MathLine (talk) addition has been reverted, per WP:BRD you should now DISCUSS on talk page and seek consensus, not re-insert
en>Rjwilmsi
m →‎Length of the repeating block: Journal cites, Added 1 doi to a journal cite using AWB (10365)
 
Line 1: Line 1:
The '''cover tree''' is a type of [[data structure]] in [[computer science]] that is specifically designed to facilitate the speed-up of a [[nearest neighbor search]]. It is a refinement of the Navigating Net data structure, and related to a variety of other data structures developed for indexing intrinsically low-dimensional data.<ref name="clarkson">Kenneth Clarkson.  Nearest-neighbor searching and metric space dimensions.  In G. Shakhnarovich, T. Darrell, and P. Indyk, editors, Nearest-Neighbor Methods for Learning and Vision: Theory and Practice, pages 15--59. MIT Press, 2006.</ref>
Alyson is the name individuals use to contact me and I believe it sounds fairly good when you say it. I've usually cherished residing in Alaska. Office supervising is exactly where her primary income comes from. What I adore performing is soccer but I don't have the time recently.<br><br>Here is my blog post; [http://www.january-yjm.com/xe/index.php?mid=video&document_srl=158289 free psychic]
 
The tree can be thought of as a hierarchy of levels with the top level containing the root [[point (geometry)|point]] and the bottom level containing every point in the metric space.  Each level ''C'' is associated with an integer value ''i'' that decrements by one as the tree is descended. Each level ''C'' in the cover tree has three important properties:
 
*'''Nesting:''' <math>C_{i} \subseteq C_{i-1}</math>
*'''Covering:''' For every point <math>p \in C_{i-1}</math>, there exists a point <math>q \in C_{i} </math> such that the distance from <math>p</math> to <math>q</math> is less than or equal to <math>2^{i}</math> and exactly one such <math>q</math> is a parent of <math>p</math>.
*'''Separation:''' For all points <math>p,q \in C_i</math>, the distance from <math>p</math> to <math>q</math> is greater than <math>2^{i}</math>.
 
== Complexity ==
 
=== Find ===
Like other [[metric tree]]s the cover tree allows for nearest neighbor searches in <math>O(\eta*\log{n})</math> where <math>\eta</math> is a constant associated with the dimensionality of the dataset and n is the cardinality.  To compare, a basic linear search requires <math>O(n)</math>, which is a much worse dependence on <math>n</math>.  However, in high-dimensional [[metric space]]s the <math>\eta</math> constant is non-trivial, which means it cannot be ignored in complexity analysis. Unlike other metric trees, the cover tree has a theoretical bound on its constant that is based on the dataset's [[expansivity constant|expansion constant]] or doubling constant (in the case of approximate NN retrieval). The bound on search time is <math>O(c^{12} \log{n})</math> where <math>c</math> is the expansion constant of the dataset.
 
=== Insert ===
Although cover trees provide faster searches than the naive approach, this advantage must be weighed with the additional cost of maintaining the data structure.  In a naive approach adding a new point to the dataset is trivial because order does not need to be preserved, but in a cover tree it can take <math>O(c^6 \log{n})</math> time.  However, this is an upper-bound, and some techniques have been implemented that seem to improve the performance in practice.<ref>http://hunch.net/~jl/projects/cover_tree/cover_tree.html</ref>
 
=== Space ===
The cover tree uses implicit representation to keep track of repeated points.  Thus, it only requires O(n) space.
 
==See also==
*[[Nearest neighbor search]]
*[[kd-tree]]
 
==References==
<references/>
* Alina Beygelzimer, Sham Kakade, and John Langford.  Cover Trees for Nearest Neighbor.  In Proc. International Conference on Machine Learning (ICML), 2006.
[http://hunch.net/~jl/projects/cover_tree/cover_tree.html JL's Cover Tree page]. John Langford's page links to papers and code.
*  [https://github.com/DNCrane/Cover-Tree A C++ Cover Tree implementation on GitHub].
 
{{CS-Trees}}
 
[[Category:Trees (data structures)]]

Latest revision as of 08:17, 16 August 2014

Alyson is the name individuals use to contact me and I believe it sounds fairly good when you say it. I've usually cherished residing in Alaska. Office supervising is exactly where her primary income comes from. What I adore performing is soccer but I don't have the time recently.

Here is my blog post; free psychic