Brilliance: Research of Artificial Intelligence
Vol. 6 No. 4 (2026): Brilliance: Research of Artificial Intelligence, Article Research November 2026

Machine Learning-Based Classification of Quranic Verses Based on Islamic Pillars

Fauzan Azima (Universitas Malikussaleh, Indonesia)
Safwandi Safwandi (Department of Informatics, Faculty of Engineering, Universitas Malikussaleh, Indonesia)
Said Fadlan Anshari (Department of Informatics, Faculty of Engineering, Universitas Malikussaleh, Indonesia)



Article Info

Publish Date
01 Nov 2026

Abstract

Background: Text classification is a machine learning process used to categorize data based on specific characteristics. This study focuses on classifying the content of Islamic Pillars in Quranic verses into six categories: Shahada, Salah, Zakat, Fasting, Hajj, and Non-Islamic Pillars. Objective: This study seeks to develop a classification application while evaluating Naive Bayes and Support Vector Machine (SVM) algorithms with TF-IDF and FastText as feature representation methods. Methods: The dataset consisted of 800 Quranic verses selected using purposive sampling and divided into 80% training data and 20% testing data. The research stages included data preparation, text preprocessing, feature representation, model training, testing, evaluation, and implementation of the best-performing model in an application. Model performance was evaluated using accuracy, macro precision, macro recall, and macro F1-score. Results: The results showed that the SVM model using TF-IDF achieved the best performance, with an accuracy of 81.88%, macro precision of 92.55%, macro recall of 75.63%, and macro F1-score of 81.98%. Based on these results, SVM with TF-IDF was selected as the final classification model and implemented in the application to classify Quranic verses according to the content of the Islamic Pillars. Conclusion: The results demonstrate that the combination of SVM and TF-IDF can be applied to classify Quranic verses into the defined Islamic Pillars categories.

Copyrights © 2026






Journal Info

Abbrev

brilliance

Publisher

Subject

Decision Sciences, Operations Research & Management Mathematics Other

Description

Brilliance: Research of Artificial Intelligence is The Scientific Journal. Brilliance is published twice in one year, namely in February, May and November. Brilliance aims to promote research in the field of Informatics Engineering which focuses on publishing quality papers about the latest ...