ASEE Zone 2 Conference 2017

Proceedings »

Development of A Nearest-Neighbor Method (NNM) Method for Annual Streamflow Prediction

Traditional k-nearest neighbor methods couldn’t be able to correctly classify objects when their k nearest neighbors are dominated by other classes. This paper formulates a two-class classification problem, and applies a modified k-nearest neighbors (KNN) classifier algorithm based on maximal coherence, validity ratings, and k-fold cross validation to classify the test samples. We build a validity score for the pairs of sample and their surroundings according to their labels. The k nearest neighbors (including the unknown test object) of each sample in the training set as well as the unknown test object itself will be determined. The unknown test object will be tentatively assigned to a class membership. Then we use the validity scores to quantify the degree to which a pre-determined group of samples resemble their k nearest neighbors. A classifier is designed which take into account the coherence and validity ratings. A numerical example demonstrates the effectiveness of the algorithm in detail. The enhanced KNN method is compared with the conventional KNN and the modified KNN method on both real world wine data and photo-thermal infrared imaging spectroscopy (PT-IRIS) data for up to 20 different k values. Classification accuracy of KNN method and our method in terms of various combinations of k-value and k-fold cross validation are compared. The experimental results show that the proposed enhanced KNN method outperforms the conventional KNN and the modified KNN method on real world wine data, PT-IRIS data, and annual streamflow data. In addition, the classification accuracy of both the conventional KNN and our method increase drastically when k = 5. The average classification accuracy of our method on the PT-IRIS data featuring small sample size and high overlap is 97.87%.

Author(s):

Nian Zhang    
Electrical and Computer Engineering
University of the District of Columbia
United States

Tilaye Alemayehu    
Electrical and Computer Engineering
University of the District of Columbia
United States

Sasan Haghani    
Electrical and Computer Engineering
University of the District of Columbia
United States

 

Powered by OpenConf®
Copyright©2002-2016 Zakon Group LLC