JOURNAL OF APPLIED INFORMATICS AND COMPUTING
Vol. 9 No. 6 (2025): December 2025

Performance Comparison of Multilayer Perceptron (MLP) and Random Forest for Early Detection of Cardiovascular Disease

Setiawan, Dita Widayanti (Unknown)
Lapatta, Nouval Trezandy (Unknown)
Amriana, Amriana (Unknown)
Nugraha, Deny Wiria (Unknown)
Lamasitudju, Chairunnisa Ar. (Unknown)



Article Info

Publish Date
05 Dec 2025

Abstract

Cardiovascular disease is a disorder of the heart and blood vessels that can lead to heart attacks, strokes, and heart failure, so early detection is essential. This study compares Multilayer Perceptron (MLP) and Random Forest for risk classification in a Kaggle dataset containing 70,000 samples with balanced targets. Pre-processing included age conversion, outlier cleaning, standardization, and feature selection based on feature importance. Both models were optimized using RandomizedSearchCV and evaluated using accuracy, precision, recall, F1-score, AUC-ROC, confusion matrix, and k-fold cross-validation. The results show that the accuracy of MLP is 73.90% and Random Forest is 74.23% with an AUC of 0.80 for both. Random Forest is more stable across all folds and performs better on the negative class, while MLP is slightly more sensitive to the positive class. Independent t-test and Mann-Whitney U tests show p>0.05, indicating that the difference in performance is not significant. The most influential features were diastolic blood pressure, age, cholesterol, and systolic blood pressure. The non-clinical Streamlit prototype demonstrated the model's potential for education and initial decision support.

Copyrights © 2025






Journal Info

Abbrev

JAIC

Publisher

Subject

Computer Science & IT

Description

Journal of Applied Informatics and Computing (JAIC) Volume 2, Nomor 1, Juli 2018. Berisi tulisan yang diangkat dari hasil penelitian di bidang Teknologi Informatika dan Komputer Terapan dengan e-ISSN: 2548-9828. Terdapat 3 artikel yang telah ditelaah secara substansial oleh tim editorial dan ...