Implementasi Extremely Randomized Trees dengan Optimasi Hyperparameter Accelerated Particle Swarm Optimization untuk Klasifikasi Subtipe Anemia
DOI:
https://doi.org/10.37859/jf.v16i1.11295
Abstract
Anemia is a health problem that negatively affects both medical outcomes and social well-being, highlighting the need for accurate early detection. This study applies a machine learning approach to classify anemia subtypes to support clinical intervention and further examination. The Extra Trees method employs a hierarchical decision-tree structure with extreme randomization, making it robust to overfitting and capable of good generalization on small to medium datasets. Accelerated Particle Swarm Optimization (APSO) is utilized as an efficient optimization technique to improve classification performance. The novelty of this study lies in integrating Extra Trees with APSO to optimize anemia subtype classification. The dataset consists of 385 records collected from a regional hospital in East Java, Indonesia, covering four classes: thalassemia, iron deficiency anemia, anemia of chronic disease, and non-anemia. The features include patient initials, gender, age, and hematological parameters (Hb, HCT, RBC, MCV, MCH, MCHC, RDW). The optimized model achieved 85% accuracy, 87% precision, 85% recall, 85% F1-score, 95% specificity, and 94% AUC, outperforming the non-optimized model. These results indicate that the proposed approach is effective for anemia subtype classification.
Downloads
References
H. Nasruddin, R. Faisal Syamsu, and D. Permatasari, “Angka Kejadian Anemia Pada Remaja di Indonesia,” Cerdika J. Ilm. Indones., vol. 1, no. 4, pp. 357–364, 2021, doi: 10.59141/cerdika.v1i4.66.
dr. F. R. Makarim, “Ini 5 Akibat Fatal yang Bisa Muncul Akibat Anemia,” halodoc. [Online]. Available: https://www.halodoc.com/artikel/ini-5-akibat-fatal-yang-bisa-muncul-akibat-anemia?srsltid=AfmBOopmz4D95EVs-SEs9a6hs0QFc6Wq1nL05fs2cWFWmZKOZ652u9_2
Siti Naila Sya’bani, Andriyani Andriyani, and Nurmalia Lusida, “Tinjauan Anemia pada Remaja Putri : Analisis Faktor Resiko dan Implikasi Kesehatan Jangka Panjang,” OBAT J. Ris. Ilmu Farm. dan Kesehat., vol. 3, no. 3, pp. 255–269, 2025, doi: 10.61132/obat.v3i3.1353.
Survei Kesehatan Indonesia 2023 (SKI). Kementerian Kesehatan RI, 2023. [Online]. Available: https://kemkes.go.id/id/survei-kesehatan-indonesia-ski-2023
Profil Kesehatan Jawa Timur 2024. Dinas Kesehatan Provinsi Jawa Timur, 2024. [Online]. Available: https://dinkes.jatimprov.go.id/index.php/source/bankdata&statis&sekretariat&PPA&105__1776148400_profil-kesehatan-provinsi-jawa-timur-tahun-2024.pdf
Profil Kesehatan Kota Surabaya 2024. Dinas Kesehatan Kota Surabaya, 2024. [Online]. Available: https://dinkes.surabaya.go.id/portal_dinkes/d/dkk/dokumen?kategori=3
M. N. Garcia-Casal, O. Dary, M. E. Jefferds, and S. R. Pasricha, “Diagnosing anemia: Challenges selecting methods, addressing underlying causes, and implementing actions at the public health level,” Ann. N. Y. Acad. Sci., vol. 1524, no. 1, pp. 37–50, 2023, doi: 10.1111/nyas.14996.
A. Priandika and A. R. Isnain, “Penerapan Teknik Ensemble Learning untuk Klasifikasi Jenis-jenis Anemia,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. July, pp. 972–980, 2025.
D. T. Wiyanti and Ainurrohmah, “Analisis Performa Algoritma Decision Tree , Naïve Bayes , K- Nearest Neighbor untuk Klasifikasi Zona Daerah Risiko Covid-19 di Indonesia Performance Analysis Of Decision Tree , Naïve Bayes , K-Nearest Neighbor Algorithm For Covid-19 Risk Zone Classificati,” J. Teknoogi Inf. dan Ilmu Komput., vol. 10, no. 1, 2023, doi: 10.25126/jtiik.2023105935.
S. Baladram, “Extra Trees, Explained: A Visual Guide with Code Examples,” Medium. Accessed: Nov. 14, 2025. [Online]. Available: https://medium.com/@samybaladram/extra-trees-explained-a-visual-guide-with-code-examples-4c2967cedc75
A. La Moglia and K. M. Almustafa, “Breast cancer prediction using machine learning classification algorithms,” J. Intell. Med., vol. 11, no. 2025, 2024, doi: 10.1016/j.ibmed.2024.100193.
H. F. Soon, A. Amir, H. Nishizaki, N. A. H. Zahri, L. M. Kamarudin, and S. N. Azemi, “Evaluating Tree-based Ensemble Strategies for Imbalanced Network Attack Classification,” Int. J. Adv. Comput. Sci. Appl., vol. 15, no. 1, 2024, doi: 10.14569/IJACSA.2024.01501111.
X. S. Yang, S. Deb, and S. Fong, “Accelerated particle swarm optimization and support vector machine for business optimization and applications,” in Communications in Computer and Information Science, 2011, pp. 53–66. doi: 10.1007/978-3-642-22185-9_6.
A. H. M. Emara, G. Atteia, and J. H. Alkhateeb, “Fine Tuning Hyperparameters of Deep Learning Models Using Metaheuristic Accelerated Particle Swarm Optimization Algorithm,” IEEE Access, vol. 13, no. June, pp. 134506–134518, 2025, doi: 10.1109/ACCESS.2025.3591403.
M. Sulistiyono, Y. Pristyanto, S. Adi, and G. Gumelar, “Implementasi Algoritma Synthetic Minority Over-Sampling Technique untuk Menangani Ketidakseimbangan Kelas pada Dataset Klasifikasi,” Sistemasi, vol. 10, no. 2, p. 445, 2021, doi: 10.32520/stmsi.v10i2.1303.
S. A. R. Manaf, A. Fitrianto, and A. M. Soleh, “Perbandingan Algoritma Pohon dengan Beberapa Skenario Pelabelan untuk Analisis Sentimen pada Aplikasi MIlik Pemerintah/BUMN,” J. Edukasi dan Penelit. Inform., vol. 10, no. 1, pp. 24–32, 2024.
Yanuardi, F. F. Basri, and M. L. Aksani, “Klasifikasi Kepribadian Berdasarkan Dimensi Ekstraversi Berbasis Data Mining Menggunakan Extremely Randomized Trees,” J. Ilm. Tek. Inform., vol. 14, no. 2, pp. 229–237, 2025, [Online]. Available: https://share.google/Pf5PRcHrIDGkny0Ki
M. Walidin, “Analisis Sentimen Opini Pelanggan Berbasis Aspek Aplikasi Halodoc Menggunakan Metode Extra Tree Classifier,” Universitas Komputer Indonesia, 2021. [Online]. Available: https://elibrary.unikom.ac.id/id/eprint/5673/
M. A. Tariq et al., “Comparative assessment of differently randomized accelerated particle swarm optimization and squirrel search algorithms for selective harmonics elimination problem,” Sci. Rep., pp. 1–11, 2024, doi: 10.1038/s41598-024-62686-9.
“Evaluation Metrics in Machine Learning,” geeksforgeeks. Accessed: Sep. 10, 2025. [Online]. Available: https://www.geeksforgeeks.org/machine-learning/metrics-for-machine-learning-model/
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Adelia Adelia, Trimono Trimono, Mohammad Idhom

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright Notice
An author who publishes in the Jurnal FASILKOM (teknologi inFormASi dan ILmu KOMputer) agrees to the following terms:
- Author retains the copyright and grants the journal the right of first publication of the work simultaneously licensed under the Creative Commons Attribution-ShareAlike 4.0 License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal
- Author is 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 the acknowledgement of its initial publication in this journal.
- Author is permitted and encouraged to post his/her 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 the published work (See The Effect of Open Access).
Read more about the Creative Commons Attribution-ShareAlike 4.0 Licence here: https://creativecommons.org/licenses/by-sa/4.0/.










_(1).png)



