Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles

Text classification is the process of grouping documents based on similarity in categories. Some of the obstacles in doing text classification are many words appeared in the text, and some words come up with infrequent frequency (sparse words). The way to solve this problem is to conduct the fea...

Full description

Bibliographic Details
Main Authors: Ihsan, Afdhalul, Rainarli, Ednawati
Format: Article
Language:English
Published: Penerbit Universiti Kebangsaan Malaysia 2021
Online Access:http://journalarticle.ukm.my/16843/
http://journalarticle.ukm.my/16843/1/04.pdf
_version_ 1848814156969410560
author Ihsan, Afdhalul
Rainarli, Ednawati
author_facet Ihsan, Afdhalul
Rainarli, Ednawati
author_sort Ihsan, Afdhalul
building UKM Institutional Repository
collection Online Access
description Text classification is the process of grouping documents based on similarity in categories. Some of the obstacles in doing text classification are many words appeared in the text, and some words come up with infrequent frequency (sparse words). The way to solve this problem is to conduct the feature selection process. There are several filter-based feature selection methods; some are Chi-Square, Information Gain, Genetic Algorithm, and Particle Swarm Optimization (PSO). Aghdam's research shows that PSO is the best among those methods. This study examined PSO to optimize the k-Nearest Neighbour (k-NN) algorithm's performance in categorizing news articles. k-NN is an algorithm that is simple and easy to implement. If we use the appropriate features, then the k-NN will be a reliable algorithm. PSO algorithm is used to select keywords (term features), and it is continued with classifying the documents using k-NN. The testing process consists of three stages. The stages are tuning the parameter of k-NN, the parameter of PSO, and measuring the testing performance. The parameter tuning process aims to determine the number of neighbours used in k-NN and optimize the PSO particles. Otherwise, the performance testing compares the performance of k-NN with and without using PSO. The optimal number of neighbours is 9, with the number of particles is 50. The testing showed that using the k-NN with PSO and a 50% reduction in terms. The results 20 per cent better accuracy than k-NN without PSO. Although the PSO's process did not always find the optimal conditions, the k-NN method can produce better accuracy. In this way, the k-NN method can work better in grouping news articles, especially in Indonesian language news articles.
first_indexed 2025-11-15T00:29:37Z
format Article
id oai:generic.eprints.org:16843
institution Universiti Kebangasaan Malaysia
institution_category Local University
language English
last_indexed 2025-11-15T00:29:37Z
publishDate 2021
publisher Penerbit Universiti Kebangsaan Malaysia
recordtype eprints
repository_type Digital Repository
spelling oai:generic.eprints.org:168432021-06-20T05:01:18Z http://journalarticle.ukm.my/16843/ Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles Ihsan, Afdhalul Rainarli, Ednawati Text classification is the process of grouping documents based on similarity in categories. Some of the obstacles in doing text classification are many words appeared in the text, and some words come up with infrequent frequency (sparse words). The way to solve this problem is to conduct the feature selection process. There are several filter-based feature selection methods; some are Chi-Square, Information Gain, Genetic Algorithm, and Particle Swarm Optimization (PSO). Aghdam's research shows that PSO is the best among those methods. This study examined PSO to optimize the k-Nearest Neighbour (k-NN) algorithm's performance in categorizing news articles. k-NN is an algorithm that is simple and easy to implement. If we use the appropriate features, then the k-NN will be a reliable algorithm. PSO algorithm is used to select keywords (term features), and it is continued with classifying the documents using k-NN. The testing process consists of three stages. The stages are tuning the parameter of k-NN, the parameter of PSO, and measuring the testing performance. The parameter tuning process aims to determine the number of neighbours used in k-NN and optimize the PSO particles. Otherwise, the performance testing compares the performance of k-NN with and without using PSO. The optimal number of neighbours is 9, with the number of particles is 50. The testing showed that using the k-NN with PSO and a 50% reduction in terms. The results 20 per cent better accuracy than k-NN without PSO. Although the PSO's process did not always find the optimal conditions, the k-NN method can produce better accuracy. In this way, the k-NN method can work better in grouping news articles, especially in Indonesian language news articles. Penerbit Universiti Kebangsaan Malaysia 2021-06 Article PeerReviewed application/pdf en http://journalarticle.ukm.my/16843/1/04.pdf Ihsan, Afdhalul and Rainarli, Ednawati (2021) Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles. Asia-Pacific Journal of Information Technology and Multimedia, 10 (1). pp. 43-51. ISSN 2289-2192 https://www.ukm.my/apjitm/articles-year.php
spellingShingle Ihsan, Afdhalul
Rainarli, Ednawati
Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles
title Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles
title_full Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles
title_fullStr Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles
title_full_unstemmed Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles
title_short Optimization of k-Nearest Neighbour to categorize Indonesian’s news articles
title_sort optimization of k-nearest neighbour to categorize indonesian’s news articles
url http://journalarticle.ukm.my/16843/
http://journalarticle.ukm.my/16843/
http://journalarticle.ukm.my/16843/1/04.pdf