B-kNN to Improve the Efficiency of kNN

Dhrgam AL Kafaf, Dae-Kyoo Kim, Lunjin Lu

Abstract

The kNN algorithm typically relies on the exhaustive use of training datasets, which aggravates efficiency on large datasets. In this paper, we present the B-kNN algorithm to improve the efficiency of kNN using a two-fold preprocess scheme built upon the notion of minimum and maximum points and boundary subsets. For a given training dataset, B-kNN first identifies classes and for each class, it further identifies the minimum and maximum points (MMP) of the class. A given testing object is evaluated to the MMP of each class. If the object belongs to the MMP, the object is predicted belonging to the class. If not, a boundary subset (BS) is defined for each class. Then, BSs are fed into kNN for determining the class of the object. As BSs are significantly smaller in size than their classes, the efficiency of kNN improves. We present two case studies to evaluate B-kNN. The results show an average of 97\% improvement in efficiency over kNN using the entire training dataset, while making little sacrifice of the accuracy compared to kNN.

Download


Paper Citation


in Harvard Style

AL Kafaf D., Kim D. and Lu L. (2017). B-kNN to Improve the Efficiency of kNN . In Proceedings of the 6th International Conference on Data Science, Technology and Applications - Volume 1: DATA, ISBN 978-989-758-255-4, pages 126-132. DOI: 10.5220/0006393301260132


in Bibtex Style

@conference{data17,
author={Dhrgam AL Kafaf and Dae-Kyoo Kim and Lunjin Lu},
title={B-kNN to Improve the Efficiency of kNN},
booktitle={Proceedings of the 6th International Conference on Data Science, Technology and Applications - Volume 1: DATA,},
year={2017},
pages={126-132},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006393301260132},
isbn={978-989-758-255-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 6th International Conference on Data Science, Technology and Applications - Volume 1: DATA,
TI - B-kNN to Improve the Efficiency of kNN
SN - 978-989-758-255-4
AU - AL Kafaf D.
AU - Kim D.
AU - Lu L.
PY - 2017
SP - 126
EP - 132
DO - 10.5220/0006393301260132