Klasifikasi Jenis Bunga Iris Berdasarkan Fitur Morfologi Menggunakan Algoritma Naive Bayes
Abstract
This study aims to classify the types of Iris flowers based on morphological features using the Naive Bayes algorithm. Iris flowers consist of three types, namely Iris-Setosa, Iris-Versicolor, and Iris-Virginica, which can be distinguished based on the length and width of the petals as well as the length and width of the sepals. The dataset used in this research is the Iris dataset, which contains information on four morphological features from these three types of flowers. The Naive Bayes algorithm was chosen because of its advantages in performing probability-based classification in a simple, fast, and effective manner, especially for data with independent features. The research stages include data collection, feature extraction, splitting the data into training and testing sets, training the model using the Naive Bayes algorithm, and testing the model to evaluate classification accuracy. The results of the study show that the Naive Bayes model is able to classify the test data accurately, with the highest probability value obtained in the Iris-Versicolor class, with a value of P(Versicolor│X)=1. This indicates that the test data has the highest similarity to that species compared to the other two species. Thus, the Naive Bayes algorithm proves effective for classifying types of Iris flowers based on their morphological features.
Downloads
References
A. Sabri, “Transfer Learning Model CNN Pralatih Untuk Klasifikasi Bunga Iris Berbasis Citra,” Prosiding Seminar SeNTIK, vol. 7, no. 1, pp. 71–77, 2023, Accessed: Jun. 21, 2025. [Online]. Available: https://ejournal.jak-stik.ac.id/index.php/sentik/article/view/3416.
P. Putra, A. M. H. Pardede, and S. Syahputra, “Analisis Metode K-Nearest Neighbour (Knn) Dalam Klasifikasi Data Iris Bunga,” JTIK (Jurnal Teknik Informatika Kaputama), vol. 6, no. 1, pp. 297–305, 2022, doi: 10.59697/jtik.v6i1.401.
Alvina Felicia Watratan, Arwini Puspita. B, and Dikwan Moeis, “Implementasi Algoritma Naive Bayes Untuk Memprediksi Tingkat Penyebaran Covid-19 Di Indonesia,” Journal of Applied Computer Science and Technology, vol. 1, no. 1, pp. 7–14, 2020, doi: 10.52158/jacost.v1i1.9.
M. V. Anand, B. Kiranbala, S. R. Srividhya, C. Kavitha, and M. Younus, “Gaussian Na ¨ ıve Bayes Algorithm : A Reliable Technique Involved in the Assortment of the Segregation in Cancer,” vol. 2022, 2022, doi: 10.1155/2022/2436946.
H. Mustakim and S. Priyanta, “Aspect-Based Sentiment Analysis of KAI Access Reviews Using NBC and SVM,” IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 16, no. 2, p. 113, 2022, doi: 10.22146/ijccs.68903.
I. W. Saputro and B. W. Sari, “Uji Performa Algoritma Naïve Bayes untuk Prediksi Masa Studi Mahasiswa,” Creative Information Technology Journal, vol. 6, no. 1, p. 1, 2020, doi: 10.24076/citec.2019v6i1.178.
I. R. Anita Desiani, Irmeilyana Irmeilyana, Herlina Hanum, Yuli Andriani, Sri Indra Maiyanti, Clarita Margo Uteh, “Penerapan Metode Support Vector Machine Dalam Klasifikasi Bunga Iris,” AJAI(Indonesia Jurnal of Applied Informatics), vol. 7 No. 1, 2022, doi: https://doi.org/10.20961/ijai.v7i1.61486.
Z. S. Muhammad Ridho Pradana, Rio Septian Hardinata, “Analisa Algoritma Support Vector Machine Pada Data Bunga Iris,” Jurnal Darma Agung, vol. 30, no. April, pp. 477–487, 2022.
E. Etriyanti, D. Syamsuar, and N. Kunang, “Implementasi Data Mining Menggunakan Algoritma Naive Bayes Classifier dan C4.5 untuk Memprediksi Kelulusan Mahasiswa,” Telematika, vol. 13, no. 1, pp. 56–67, 2020, doi: 10.35671/telematika.v13i1.881.
F. Harahap, N. E. Saragih, E. T. Siregar, and H. Sariangsah, “Penerapan Data Mining Dengan Algoritma Naive Bayes Classifier Dalam Memprediksi Pembelian Cat,” Jurnal Ilmiah Informatika, vol. 9, no. 01, pp. 19–23, 2021, doi: 10.33884/jif.v9i01.3702.
F. Farahdinna and M. N. Shofy, “Implementasi K-Nearest Neighbor Untuk Klasifikasi Bunga Iris,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 2, pp. 3510–3514, 2025, doi: 10.36040/jati.v9i2.13510.
F. D. Noviandha, I. F. Astuti, and A. H. Kridalaksana, “Sistem Pendukung Keputusan Untuk Penentuan Kategori Uang Kulliah Tunggal Dengan Metode Multifactor Evaluation Process (Studi Kasus : Universitas Mulawarman),” Informatika Mulawarman : Jurnal Ilmiah Ilmu Komputer, vol. 13, no. 2, p. 88, 2019, doi: 10.30872/jim.v13i2.1552.
Z. Rahman, Z. Fatah, and J. D. Prasetyo, “Klasifikasi Spesies Bunga Iris Menggunakan Algoritma Klasifikasi Knn Di Rapidminer,” Jurnal Ilmiah Multidisiplin Ilmu, vol. 1, no. 6, pp. 60–66, 2024, doi: 10.69714/0syd5n74.
D. Rofianto, O. Arifin, and D. K. Widyawati, “Perbandingan Metode Klasifikasi Learning Vector Quantization Dengan Diskriminan Fisher Pada Data Bunga Iris,” JSR: Jaringan Sistem Informasi Robotik, vol. 7, no. 1, pp. 44–49, 2023, doi: 10.58486/jsr.v7i1.209.
N. E. Paulina, Z. E. Fitri, A. Madjid, and A. M. N. Imron, “Klasifikasi Kerusakan Mutu Tomat Berdasarkan Seleksi Fitur Menggunakan K-Nearest Neighbor,” MIND (Multimedia Artificial Intelligent Networking Database) Journal, vol. 6, no. 2, pp. 144–154, 2021, doi: 10.26760/mindjournal.v6i2.144-154.
I. W. S. A. Nugraha, “Clustering Pemetaan Tingkat Kemiskinan di Provinsi Jawa Barat Menggunakan Algoritma K-Means,” Jurnal Ilmiah Wahana Pendidikan, vol. 9, no. 2, pp. 234–244, 2023, doi: 10.5281/zenodo.7567622.
S. W. Harjono, N. W. Utami, and I. G. A. P. D. Putri, “Klasterisasi Tingkat Penjualan pada Startup Panak. id dengan Algoritma K-Means,” Jurnal Ilmiah Teknologi Informasi Asia, vol. 17, no. 1, pp. 55–66, 2023, Accessed: Jun. 21, 2025. [Online]. Available: https://pdfs.semanticscholar.org/4346/fa99cc56a0bea38f917923ccb6d0aca4f228.pdf
M. Rosadi, D. A. Nurhasanah, and M. S. Hasibuan, “Clustering Panjang Ruas Jalan di BBPJN Sumut Menggunakan Algoritma K-Means,” Journal of Computer Science and Informatics Engineering, vol. 2, no. 1, pp. 29–38, 2023, doi: 10.55537/cosie.v2i1.567.
D. Darwis, N. Siskawati, and Z. Abidin, “Penerapan Algoritma Naive Bayes Untuk Analisis Sentimen Review Data Twitter Bmkg Nasional,” Jurnal Tekno Kompak, vol. 15, no. 1, pp. 131–145, 2021, doi: 10.33365/jtk.v15i1.744.
M. K. K. Insan, U. Hayati, and O. Nurdiawan, “Analisis Sentimen Aplikasi Brimo Pada Ulasan Pengguna Di Google Play Menggunakan Algoritma Naive Bayes,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 1, pp. 478–483, 2023, doi: 10.36040/jati.v7i1.6373.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Klasifikasi Jenis Bunga Iris Berdasarkan Fitur Morfologi Menggunakan Algoritma Naive Bayes
Pages: 538-549
Copyright (c) 2025 Ely Novita Sari, Deci Irmayani, Budianto Bangun

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).





















