Claim Missing Document
Check
Articles

Found 3 Documents
Search
Journal : journal of advanced computer knowledge and algorithms

Applying TF-IDF and K-NN for Clickbait Detection in Indonesian Online News Headlines Afif, Muhammad Athallah; Ula, Munirul; Rosnita, Lidya; Rizal, Rizal
Journal of Advanced Computer Knowledge and Algorithms Vol 1, No 2 (2024): Journal of Advanced Computer Knowledge and Algorithms - April 2024
Publisher : Department of Informatics, Universitas Malikussaleh

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.29103/jacka.v1i2.15810

Abstract

This research explores the application of TF-IDF (Term Frequency-Inverse Document Frequency) and K-Nearest Neighbor (K-NN) in constructing a clickbait detection system for Indonesian online news headlines. The TF-IDF method is employed to ascertain the significance of words in news headlines, utilizing a tokenization process to generate numeric representations. The TF-IDF matrix serves as features in the K-NN classification model, with k=1 determining the most similar class. Model evaluation yields outstanding results, achieving accuracy, precision, recall, and F1-Score all reaching 1.0. The confusion matrix unveils no misclassifications, affirming the model's adeptness in correctly classifying all samples.
Classification of Hospital Stay Duration for Schizophrenia Patients at RSUD Muyang Kute Using a Combination of C4.5 and Particle Swarm Optimization Putri Agustina Dewi; Munirul Ula; Said Fadlan Anshari
Journal of Advanced Computer Knowledge and Algorithms Vol. 3 No. 2 (2026): Journal of Advanced Computer Knowledge and Algorithms - April 2026
Publisher : Department of Informatics, Universitas Malikussaleh

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.29103/jacka.v3i2.25930

Abstract

Schizophrenia is a chronic mental disorder that often requires inpatient care, so an increase in the number of patients can lead to limited bed capacity in psychiatric wards. This study aims to classify the length of hospital stay for schizophrenia patients to support room requirement planning at RSUD Muyang Kute using the C4.5 algorithm optimized with Particle Swarm Optimization (PSO). The dataset consists of 657 medical records of inpatient schizophrenia cases from February 2023 to March 2025, categorized into three length-of-stay classes: short (1–5 days), medium (6–10 days), and long (>10 days). The C4.5 algorithm is used to construct a decision tree model based on historical data, while PSO is employed as an optimization method to improve the model configuration. The evaluation uses classification accuracy and Mean Absolute Percentage Error (MAPE) for room demand estimation. The results show that both the C4.5 and C4.5–PSO models achieve similarly high accuracy on the test data, while the manual MAPE calculation for room demand estimation yields a value of 52.66%. In contrast, the MAPE calculated by the system is 0.00% in the test scenario because all classes in the test data are correctly predicted. The web-based decision support system developed using Python and Streamlit is able to automatically provide predictions of length of stay and estimates of the required number of psychiatric beds at RSUD Muyang Kute.
Determining The Accuracy Of Cosmetic Product Layout Using The Apriori Algorithm And Fp-Growth Algorithm Rayhan Fitri; Munirul Ula; Mukti Qamal
Journal of Advanced Computer Knowledge and Algorithms Vol. 3 No. 4 (2026): Journal of Advanced Computer Knowledge and Algorithms - October 2026
Publisher : Department of Informatics, Universitas Malikussaleh

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.29103/jacka.v3i4.28198

Abstract

This study aims to analyze purchasing patterns of cosmetic products and to evaluate the accuracy of product layout arrangements based on association analysis results using the Apriori and FP-Growth algorithms. An optimal product layout is believed to improve sales efficiency and provide a better shopping experience for customers. The data used consist of cosmetic sales transaction data from the period 2022–2024, which were transformed into a basket format. A performance comparison between the two algorithms was conducted based on execution time, the number of association rules generated, lift values, and accuracy levels. The results show that both algorithms produce different association rules that reveal patterns of relationships among cosmetic products, where Apriori generates four rules while FP-Growth generates nine rules. The association rules produced by the Apriori algorithm are {Moisturizer}→{Lip tint}, {Facial cleanser}→{Lip tint}, {Setting spray}→{Lip tint}, and {Powder}→{Lip tint}. Meanwhile, the FP-Growth algorithm produces the following rules: {Facial cleanser}→{Lip tint}, {Lip tint}→{Facial cleanser}, {Powder}→{Lip tint}, {Lip tint}→{Powder}, {Setting spray}→{Lip tint}, {Lip tint}→{Setting spray}, {Moisturizer}→{Lip tint}, {Lip tint}→{Moisturizer}, and {Lip tint}→{Facial soap}. These findings can be utilized by cosmetic store owners to optimize product layouts by placing items that are frequently purchased together in close proximity, thereby increasing sales opportunities. In addition, the results of this study can serve as a reference for future research, either by using larger datasets or by integrating other analytical methods to produce more precise recommendations.
Co-Authors Abdullah A.Z Abdullah, ⁠Dahlan Adi Syahputra Ritonga Affan Syafiq Azzikri Afif, Muhammad Athallah Agustriya, Manda Al-Ghiyats, Said Ananda Faridhatul Ulva Ar Razi Arnawan Hasibuan Azzikri, Affan Syafiq ⁠Dahlan Abdullah Bustami Bustami Bustami Bustami Cut Agusniar Dahlan Abdullah Dara Farhiyah Dhani, Saniah Dinda, Dinda Fadillah, Rizky Fahruddin Fahruddin Fajriana, Fajriana Fasdarsyah Fasdarsyah Fidyatun Nisa Fikhri, Aditya Aziz Fitri, Anisa Amelia Fuddin, Mudhya Hamdhana, Defry Hasan Dalimunthe, Amir Herman Fithra Husaini Jessika Jessika Kamaruzzaman, Hilda Zulfira KURNIAWATI - Kurniawati Kurniawati Lailatul Husna Lidya Rosnita M David Khalid Marzuki Marzuki Mey Suci Br Pardosi Muchlis Abdul Muthalib Muhammad Daud Muhammad Fauzan Muhammad Fikry Muhammad Ikhwanus Muhammad Muhammad Muhammad Yani, Muhammad Mukti Qamal Muliana, Syarifah Mutammimul Ula Muthalib, Muchlis Abd Nadia Saphira Naluri, Helmi Nanda Imanda Nurdin Nurdin Nurdin Nurdin Nurdin Nurul Aula Nurul Husna Putri Agustina Dewi Putri, Nazirah Allisya Rahman, Ashri Nurhajizah Rayhan Fitri Ridha, Ridha Rini Meiyanti Rita Afridah Rizal Rizal Rizal S.Si., M.IT, Rizal Rizal Tjut Adek Rizki Suwanda Rizky Putra Fhonna Rizky, Rahmat Rozzi Kesuma Dinata Rusadi, Athirah Said Fadlan Anshari Saiful Kiram Salimuddin, Salimuddin Sayed Fachrurrazi Sayed Fachrurrazi Sayuti, Muhammad Siagian, Tania Annisa Sinambela, Reza Syahputra Siska Amelia Melani Siti Aminah Sujacka Retno Susanti Susanti Syahrul Andika Lubis Taufiq , Taufiq Taufiq Taufiq Tiara Oktavia Ulfah, Julia Veri Ilhadi Wahidatunnisa Nasution Yasin, Fijri Ahmad Yessi Apprilia Yesy Aflillia Yopy Anfelia Yulisda, Desvina Yuni SariBr Sitepu Zailani Mohamed Sidek Zara Yunizar