Nearest neighbour queries on commercial databases

When you are in need of cash now, how can you quickly find the two nearest ATMs around you that are within one km? This can also be thought of as a k-nearest neighbour (KNN) problem. To help solving the problem, the objective of the project is to develop an application that allows users to search fo...

Full description

Saved in:
Bibliographic Details
Main Author: Lin, Xinzhen.
Other Authors: School of Computer Engineering
Format: Final Year Project
Language:English
Published: 2012
Subjects:
Online Access:http://hdl.handle.net/10356/48694
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-48694
record_format dspace
spelling sg-ntu-dr.10356-486942023-03-03T20:58:25Z Nearest neighbour queries on commercial databases Lin, Xinzhen. School of Computer Engineering Xiao Xiao Kui DRNTU::Engineering::Computer science and engineering::Information systems::Information storage and retrieval When you are in need of cash now, how can you quickly find the two nearest ATMs around you that are within one km? This can also be thought of as a k-nearest neighbour (KNN) problem. To help solving the problem, the objective of the project is to develop an application that allows users to search for a number of locations of a particular place type that are nearest to a given point on the map. In addition, the application also involves finding a suitable formula that calculates the shortest distance between two points on the Earth in terms of speed and accuracy. The Spherical Law of Cosines, the Haversine and the Vincenty’s inverse formula were tested in the experiments. It was found that the Spherical Law of Cosines had the fastest speed due to its algorithm which involves only a few trigonometry operations. On the other hand, the Vincenty’s inverse formula was found to have the highest accuracy since it views the Earth as an ellipsoid rather than a sphere. In the context of the application, the Spherical Law of Cosines will still have a satisfactory accuracy since the application does not require super large value inputs like the ones used in the experiments. On the contrary, the Vincenty’s inverse formula does not meet the acceptable speed requirement for the application. As a result, the Spherical Law of Cosines is the most suitable formula for the application given its high speed and good accuracy. Bachelor of Engineering (Computer Science) 2012-05-08T03:41:52Z 2012-05-08T03:41:52Z 2012 2012 Final Year Project (FYP) http://hdl.handle.net/10356/48694 en Nanyang Technological University 50 p. application/pdf
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic DRNTU::Engineering::Computer science and engineering::Information systems::Information storage and retrieval
spellingShingle DRNTU::Engineering::Computer science and engineering::Information systems::Information storage and retrieval
Lin, Xinzhen.
Nearest neighbour queries on commercial databases
description When you are in need of cash now, how can you quickly find the two nearest ATMs around you that are within one km? This can also be thought of as a k-nearest neighbour (KNN) problem. To help solving the problem, the objective of the project is to develop an application that allows users to search for a number of locations of a particular place type that are nearest to a given point on the map. In addition, the application also involves finding a suitable formula that calculates the shortest distance between two points on the Earth in terms of speed and accuracy. The Spherical Law of Cosines, the Haversine and the Vincenty’s inverse formula were tested in the experiments. It was found that the Spherical Law of Cosines had the fastest speed due to its algorithm which involves only a few trigonometry operations. On the other hand, the Vincenty’s inverse formula was found to have the highest accuracy since it views the Earth as an ellipsoid rather than a sphere. In the context of the application, the Spherical Law of Cosines will still have a satisfactory accuracy since the application does not require super large value inputs like the ones used in the experiments. On the contrary, the Vincenty’s inverse formula does not meet the acceptable speed requirement for the application. As a result, the Spherical Law of Cosines is the most suitable formula for the application given its high speed and good accuracy.
author2 School of Computer Engineering
author_facet School of Computer Engineering
Lin, Xinzhen.
format Final Year Project
author Lin, Xinzhen.
author_sort Lin, Xinzhen.
title Nearest neighbour queries on commercial databases
title_short Nearest neighbour queries on commercial databases
title_full Nearest neighbour queries on commercial databases
title_fullStr Nearest neighbour queries on commercial databases
title_full_unstemmed Nearest neighbour queries on commercial databases
title_sort nearest neighbour queries on commercial databases
publishDate 2012
url http://hdl.handle.net/10356/48694
_version_ 1759854854462767104