Fast Searching of Nearest Neighbor Using Key Values in Data Mining
Fast Searching of Nearest Neighbor Using Key Values in Data Mining
ABSTRACT
Spatial query which focus only on the geometrics properties of an object like points, rectangle etc. Now a day‟s
many new applications which involve the queries that completely aim to return an object which satisfy equally on
spatial predicate and their associated text. Spatial query takes the given location and a keyword as the input and
finds the object that matches the both spatial predicate and the text related to the given query. Some of the spatial
queries are range search and nearest neighbor retrieval which includes only geometric properties of an object. For
example, In case of considering all the hotels, a nearest neighbor query would find for the hotel which is near, along
with menu that user required to have in hotel among all the hotels in particular location simultaneously. At present
the better solution is based on IR2-Tree which as few drawbacks that affect the efficiency in query retrieval. So we
develop a new method Spatial inverted index that cope with 3D data to answer the nearest neighbor query using
keyword along with key values in real time. Searching nearest neighbor query using key values will result in quick
response of query when compared to keyword in real time.
Keywords: Spatial Query, Nearest Neighbour Search, IR2-Tree, Key Value and Spatial inverted index
IJSRSET151180 | Received: 24 March 2015 | Accepted: 11 March 2015 | March-April 2015 [(1)2: 81-85]
81
integer coordinates, such that each coordinate ranges in facilities, or if H is a hospital, Wh can be the list of its
[0, t], where t is a large integer. This is not as restrictive out-patient specialties. It is clear that Wh may potentially
as it may seem, because even if one would like to insist contain numerous words. Traditional nearest neighbor
on real valued coordinates, the set of different search [3] returns the data point closest to a query point.
coordinates represent able under a space limit is still Following [12], we extend the problem to include
finite and enumerable; therefore, we could as well predicates on objects‟ texts. Formally, in our context, a
convert everything to integer with proper scaling. nearest neighbor (NN) query specifies a point q and a set
Wq of keywords (we refer to Wq as the document of the
Each point in H in Figure 1. (b) is associated with a set query). It returns the point in Hq that is the nearest to q,
of words (h1,h2,h3,h4,h5,h6,h7,h8), and termed the Where Hq is defined as
document of H which is denoted as Wh. For example, if
H stands for a restaurant, Wh can be its menu, or if H is a Hq = {h є H | Wq ⫃ Wh} (1)
hotel, Wh can be the description of its services and
C. Inverted Indexes
Data Set of Each location are collected and stored B. Building R-Tree
in database which includes the Hotel And its details R-Tree is a real tree which is the graphical
like name, address ,Specialize , phone number and representation of the data set that is stored in the
distance of the particular hotel from Koyambedu by particular location. R-Tree is built for each location for
making that particular location as the Static user convenient. Figure 3 describes the R-Tree for
location.Table.4. Describes the data set of location dataset in Table.4.
koyambedu. By this similar way N data set of each
location is collected and stored in database.