Peningkatan Akurasi K-Nearest Neighbor Pada Data Index Standar Pencemaran Udara Kota Pekanbaru
DOI:
https://doi.org/10.25299/itjrd.2020.vol5(1).4680Keywords:
Akurasi, Attribute Weighting, K-Nearest Neighbor, Local Mean, PeningkatanAbstract
kNN adalah salah satu metode yang popular karena mudah dieksploitasi, generalisasi yang biak, mudah dimengerti, kemampuan beradaptasi ke ruang fitur yang rumit, intuitif, atraktif, efektif, flexibility, mudah diterapkan, sederhana dan memiliki hasil akurasi yang cukup baik. Namun kNN memiliki beberapa kelemahan, diantaranya memberikan bobot yang sama pada setiap attribut sehingga attribut yang tidak relevant juga memberikan dampak yang sama dengan attribut yang relevant terhadap kemiripan antar data. Masalah lain dari kNN adalah pemilihan tetangga terdekat dengan system suara terbanyak, dimana system ini mengabaikan kemiripan setiap tetangga terdekat dan kemungkinan munculnya mayoritas ganda serta kemungkinan terpilihnya outlier sebagai tetangga terdekat. Masalah-masalah tersebut tentu saja dapat menimbulkan kesalahan klasifikasi yang mengakibatkan rendahnya akurasi. Pada penelitian kali ini akan dilakukan peningkatan akurasi dari kNN tersebut dalam melakukan klasifikasi terhadap data Index Standar Pencemaran Udara di Pekanbaru dengan menggunakan pembobotan attribut (Attibute Weighting) dan local mean. Adapun hasil dari penelitian ini didapati bahwa metode yang diusulkan mampu untuk meningkatkan akurasi sebesar 2.42% dengan rata-rata tingkat akurasi sebesar 97.09%.
Downloads
References
J. Wang, P. Neskovic, and L. N. Cooper, “Improving nearest neighbor rule with a simple adaptive distance measure,” Pattern Recognit. Lett., vol. 28, no. 2, pp. 207–213, 2007.
N. Bhatia, and Vandana, “Survey of nearest neighbor techniques” Int. J. of Computer Science and Information Security, vol 8, no. 2, pp. 302-305, 2010.
J. Gou, Z. Yi, L. Du, and T. Xiong, “A Local Mean-Based k -Nearest Centroid Neighbor Classifier,” vol. 55, no. 9, 2012.
A. Suárez Sánchez, F. J. Iglesias-Rodríguez, P. Riesgo Fernández, and F. J. de Cos Juez, “Applying the K-nearest neighbor technique to the classification of workers according to their risk of suffering musculoskeletal disorders,” Int. J. Ind. Ergon., vol. 52, pp. 92–99, 2014.
H. B. Jaafar, N. B. Mukahar, and D. A. B. Ramli, “A methodology of nearest neighbor: Design and comparison of biometric image database,” Proc. - 14th IEEE Student Conf. Res. Dev. Adv. Technol. Humanit. SCOReD 2016, 2017.
K. Zheng, G. Si, L. Diao, Z. Zhou, J. Chen, and W. Yue, “Applications of support vector machine and improved k-Nearest neighbor algorithm in fault diagnosis and fault degree evaluation of gas insulated switchgear,” ICEMPE 2017 - 1st Int. Conf. Electr. Mater. Power Equip., pp. 364–368, 2017.
Y. Cai, H. Huang, H. Cai, and Y. Qi, “-Nearest Neighbor Locally Search Regression Algorithm for Short-Term Traffic Flow Forecasting,” no. Icmic, pp. 624–629, 2017.
I. Gazalba, N. Gayatri, and I. Reza, “Comparative Analysis of K-Nearest Neighbor and Modified K-Nearest Neighbor Algorithm for Data Classification,” pp. 294–298, 2017.
F. Chen, Z. Ye, C. Wang, L. Yan, and R. Wang, “A Feature Selection Approach for Network Intrusion Detection Based on Tree-Seed Algorithm and K-Nearest Neighbor,” 2018 IEEE 4th Int. Symp. Wirel. Syst. within Int. Conf. Intell. Data Acquis. Adv. Comput. Syst., pp. 68–72, 2018.
S. Han and Y. Li, “ScienceDirect ScienceDirect K-Nearest Neighbor combined with guided filter for hyperspectral K-Nearest Neighbor combined with guided filter for hyperspectral image classification image classification,” vol. 00, 2018.
L. Le, “Deep Similarity-Enhanced K Nearest Neighbors,” 2018 IEEE Int. Conf. Big Data (Big Data), pp. 2643–2650, 2018.
J. Kim, “Adapt tive K -Neare est Ne eighbo our Alg gorithm m for WiFi Finge erprint t Posit tioning g,” ICT Express, pp. 4–7, 2018.
H. Kaneko, “SC,” Chemom. Intell. Lab. Syst., 2018.
A. Swetapadma and A. Yadav, “A novel single-ended fault location scheme for parallel transmission lines using k-nearest neighbor algorithm ☆,” Comput. Electr. Eng., vol. 69, no. May, pp. 41–53, 2018.
A. R. Winnersyah, “Identification and Position Estimation Method with K-Nearest Neighbour and Home Occupants Activity Pattern,” 2018 6th Int. Conf. Cyber IT Serv. Manag., no. Citsm, pp. 1–4, 2018.
F. Borghesan, M. Chioua, and N. F. Thornhill, “Forecasting of process disturbances using k -nearest neighbours , with an application in process control R,” Comput. Chem. Eng., vol. 128, no. 675215, pp. 188–200, 2020.
M. Cao, L. I. N. Li, W. Xie, W. E. I. Jia, M. Ieee, and Z. Lv, “Parallel K Nearest Neighbor Matching for 3D Reconstruction,” IEEE Access, vol. 7, pp. 55248–55260, 2019.Test
J. Gou, H. Ma, W. Ou, S. Zeng, Y. Rao, and H. Yang, “A generalized mean distance-based k-nearest neighbor classifier,” Expert Syst. Appl., 2018.
N. Garcia-Pedrajas, J. A. Romero Del Castillo, and G. Cerruela-Garcia, “A Proposal for Local $k$ Values for $k$-Nearest Neighbor Rule,” IEEE Trans. Neural Networks Learn. Syst., vol. 28, no. 2, pp. 470–475, 2017.
Z. Pan, Y. Wang, and W. Ku, “A new k-harmonic nearest neighbor classifier based on the multi-local means,” Expert Syst. Appl., vol. 67, pp. 115–125, 2017.
S. Ougiaroglou and G. Evangelidis, “Fast and accurate k-nearest neighbor classification using prototype selection by clustering,” Proc. 2012 16th Panhellenic Conf. Informatics, PCI 2012, no. i, pp. 168–173, 2012.
F. Yu, J. C. Liu, and D. M. Liu, “An approach for fault diagnosis based on an improved k-nearest neighbor algorithm,” Chinese Control Conf. CCC, vol. 2016-August, no. 1, pp. 6521–6525, 2016.
S. K. Shukla and E. Koley, “Detection and classification of open conductor faults in six-phase transmission system using k-nearest neighbour algorithm,” 2017 7th Int. Conf. Power Syst. ICPS 2017, pp. 157–161, 2018.
K. Fathoni, M. Zikky, A. S. Nurhayati, and I. Prasetyaningrum, “Application of K-Nearest Neighbor Algorithm for Puzzle Game of Human Body’s System Learning on Virtual Mannequin,” Proc. - 2018 Int. Conf. Appl. Sci. Technol. iCAST 2018, pp. 530–535, 2018.
S. S. Mullick, S. Datta, and S. Das, “Adaptive learning-based k-nearest neighbor classifiers with resilience to class imbalance,” IEEE Trans. Neural Networks Learn. Syst., vol. 29, no. 11, pp. 5713–5725, 2018.
K. Nyodu and K. Sambyo, “Automatic Identification of Arunachal language Using K-Nearest Neighbor Algorithm,” Proc. - IEEE 2018 Int. Conf. Adv. Comput. Commun. Control Networking, ICACCCN 2018, pp. 213–216, 2018.
M. Pujari, C. Awati, and S. Kharade, “Efficient Classification with an Improved Nearest Neighbor Algorithm,” Proc. - 2018 4th Int. Conf. Comput. Commun. Control Autom. ICCUBEA 2018, pp. 1–5, 2018.
G. A. Sandag, N. E. Tedry, and S. Lolong, “Classification of Lower Back Pain Using K-Nearest Neighbor Algorithm,” 2018 6th Int. Conf. Cyber IT Serv. Manag. CITSM 2018, no. Citsm, pp. 1–5, 2019.
M. Marzouq, H. El Fadili, Z. Lakhliai, A. Mechaqrane, and K. Zenkouar, “New distance weighted k Nearest Neighbor model for hourly global solar irradiation estimation,” 2019 Int. Conf. Wirel. Technol. Embed. Intell. Syst. WITS 2019, pp. 1–5, 2019.
Y. Wang, Z. Pan, and Y. Pan, “A Training Data Set Cleaning Method by Classification Ability Ranking for the k-Nearest Neighbor Classifier,” IEEE Trans. Neural Networks Learn. Syst., no. 1, pp. 1–13, 2019.
Y. Mitani and Y. Hamamoto, “A local mean-based nonparametric classifier,” Pattern Recognit. Lett., vol. 27, no. 10, pp. 1151–1159, 2006.
Z. Pan, Y. Wang, and W. Ku, “A new general nearest neighbor classification based on the mutual neighborhood information,” Knowledge-Based Syst., vol. 121, pp. 142–152, 2017.
A. Duneja and T. Puyalnithi, “Enhancing Classification Accuracy of K-Nearest Neighbours Algorithm Using Gain Ratio,” Int. Res. J. Eng. Technol., vol. 4, no. 9, pp. 1385–1388, 2017.
K. U. Syaliman, E. B. Nababan, and O. S. Sitompul, “Improving the accuracy of k-nearest neighbor using local mean based and distance weight,” J. Phys. Conf. Ser., vol. 978, no. 1, 2018.
Y. Chen and Y. Hao, “A feature weighted support vector machine and K-nearest neighbor algorithm for stock market indices prediction,” Expert Syst. Appl., vol. 80, pp. 340–355, 2017.
A. A. Nababan, O. S. Sitompul, and Tulus, “Attribute Weighting Based K-Nearest Neighbor Using Gain Ratio,” J. Phys. Conf. Ser., vol. 1007, no. 1, 2018.
Thomas M. Mitchell. 1997. Machine Learning (1 ed.). McGraw-Hill, Inc., New York, NY, USA.
P. P. R., V. M.L., and S. S., “Gain Ratio Based Feature Selection Method for Privacy Preservation,” ICTACT J. Soft Comput., vol. 01, no. 04, pp. 201–205, 2011.
![](https://journal.uir.ac.id/public/journals/11/article_4680_cover_en_US.png)
Downloads
Published
How to Cite
Issue
Section
License
This is an open access journal which means that all content is freely available without charge to the user or his/her institution. The copyright in the text of individual articles (including research articles, opinion articles, and abstracts) is the property of their respective authors, subject to a Creative Commons CC-BY-SA licence granted to all others. ITJRD allows the author(s) to hold the copyright without restrictions and allows the author to retain publishing rights without restrictions.