Infotekmesin
Vol 16 No 2 (2025): Infotekmesin: Juli 2025

Pengembangan Model Machine Learning Berbasis Linear Discriminant Analysis (LDA) untuk Deteksi Gejala Penyakit Jantung Menggunakan Python

Saputri, Inka (Unknown)
Raras Ajeng Widiawati, Chyntia (Unknown)
Sarmini , Sarmini (Unknown)
Yunita, Ika Romadoni (Unknown)



Article Info

Publish Date
31 Jul 2025

Abstract

Heart disease is the leading cause of death globally and is often not detected early due to limited awareness and the high cost of medical diagnosis. This study aims to develop an accurate and efficient prediction model for heart disease using the Linear Discriminant Analysis (LDA) algorithm. The dataset, obtained from Kaggle, contains 1,024 patient records with 14 clinical attributes, including age, blood pressure, cholesterol, and ECG results. The preprocessing steps include handling outliers, duplicates, class imbalance using SMOTE, and feature standardization. The model was evaluated using cross-validation and learning curve analysis. Results show that the optimized LDA model, tuned with GridSearchCV, achieved an accuracy of 82.54%, a recall of 88.91%, a precision of 79.03%, and an F1-score of 83.54%. The model demonstrates balanced and stable performance, although some misclassification in the positive class remains. This study highlights LDA as a promising method for the early detection of heart disease based on structured clinical data.

Copyrights © 2025






Journal Info

Abbrev

infotekmesin

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering Mechanical Engineering

Description

INFOTEKMESIN is a peer-reviewed open-access journal with e-ISSN 2685-9858 and p-ISSN: 2087-1627 published by Pusat Penelitian dan Pengabdian Masyarakat (P3M) Politeknik Negeri Cilacap. The journal invites scientists and engineers to exchange and disseminate theoretical and practice-oriented in the ...