The Cosine Similarity Technique for Removing the Redundancy Sample
Worasak Rueangsirarak, Teeravisit Laohapensaeng, Suppakarn Chansareewittaya, Anusorn Yodjaiphet · 2019
The k-nearest neighbor algorithm is one of the basic and simple classification algorithms that share a common limitation of the algorithm which requires more computation cost when the size of training data is enlarged. To solve this problem, a new method applied to the cosine similarity for reducing the size of the training data set is proposed. This method reduces the data points that close to a decision boundary and retains the important points which affect classification accuracy. For the data far from the decision boundary and not affect the classification, these points will be removed from the training data set. The proposed method is evaluated its accuracy and reduction performance on the state of the art mechanisms, categorized as prototype selection algorithms. The 20 real-world data set are used to evaluate the proposed method. The experimental results are compared with 21 existing methods. As a result, our proposed method performs the best with 89.95% accuracy but has only a fair reduction ratio, when compared to other methods.