Claim Missing Document
Check
Articles

Found 2 Documents
Search
Journal : Jurnal Algoritma

Analisis Komparatif Akurasi Prediksi Kanker Payudara Menggunakan Algoritma Random Forest dan Logistic Regression Hulaifah Al Abrori, Zahra Zul; Subhiyakto, Egia Rosi
Jurnal Algoritma Vol 22 No 1 (2025): Jurnal Algoritma
Publisher : Institut Teknologi Garut

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.33364/algoritma/v.22-1.2164

Abstract

This study analyzes the performance of Random Forest and Logistic Regression algorithms in detecting breast cancer using datasets from Kaggle. Evaluation was done based on metrics such as accuracy, precision, recall, and F1-score to classify benign and malignant cancers. Logistic Regression recorded 98% accuracy, with 99% precision for benign class and 98% for malignant class, and 99% recall for both classes. Meanwhile, Random Forest showed an accuracy of 96%, a precision of 96% for benign class and 98% for malignant class, and a recall of 99% for benign class and 93% for malignant class. This study contributes by highlighting the superiority of Logistic Regression in producing more accurate and consistent results on simple datasets, while Random Forest shows greater potential in handling data with more complex patterns. Different from previous studies, this research emphasizes the importance of matching dataset characteristics with the selected algorithm to improve the accuracy of early breast cancer detection. These results are expected to support evidence-based decision-making in the clinical field, especially in choosing the algorithm that best suits the needs and resource constraints.
Klasifikasi Penyakit Gagal Jantung Menggunakan Algoritma Naive Bayes Faradeya, Muhammad Az-Zauqy; Subhiyakto, Egia Rosi
Jurnal Algoritma Vol 22 No 1 (2025): Jurnal Algoritma
Publisher : Institut Teknologi Garut

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.33364/algoritma/v.22-1.2178

Abstract

Heart failure disease shows an alarming increase in global prevalence with significant clinical impact complexity. This study implements the Naive Bayes algorithm to predict heart failure risk, presenting a solution that is more computationally and interpretationally efficient than the high computationally time-consuming Random Forest or SVM with 92% accuracy. The methodological approach includes structured data preprocessing, including missing value handling, feature development, scale normalization, and dataset balancing. The application of K-Fold Cross Validation with K variations (2, 4, 5, 10) achieved optimal performance at K=4 with an accuracy of 85.1%, which enabled a reduction in the misdiagnosis rate to 14.9%. Achieving a precision of 81.1%, recall of 86.1%, and AUC-ROC of 0.914 contributed to savings in treatment costs through early identification accuracy. The system can be integrated in automated screening for efficient allocation of medical resources, resulting in significant operational savings through prioritization of high-risk patients and timely preventive interventions. Performance stability with consistent AUC-ROC (0.91-0.92) makes it a reliable foundation for clinical decision support systems that improve overall patient outcomes.