Media Journal of General Computer Science (MJGCS)
Vol. 2 No. 2 (2025): MJGCS

Optimization of Heart Failure Risk Prediction Using Random Forest Classifier Algorithm

M Nabil Fadhlurrahman (Unknown)
Winanto, Eko Arip (Unknown)



Article Info

Publish Date
30 Jun 2025

Abstract

This study discusses the optimization of heart failure prediction using the Random Forest Classifier algorithm with a focus on feature selection marked by a threshold and the number of features used. The results of the analysis show that the right threshold has a significant effect on model performance. At a threshold of 0.02, the model achieves the best performance with the highest accuracy, precision, and F1-score values. However, increasing the threshold above 0.08 causes a gradual decrease in model performance. In addition, the number of features used also affects the prediction results, where the right combination of features can increase the effectiveness of the classification. Therefore, this study emphasizes the importance of optimizing thresholds and feature selection in building more accurate and efficient prediction models.

Copyrights © 2025






Journal Info

Abbrev

mjgcs

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management Electrical & Electronics Engineering

Description

Media Journal of General Computer Science (MJGCS), e-ISSN: 3031-3651 is a peer-reviewed journal in Indonesian or English. The purpose of this publication is to disseminate high-quality articles that are devoted to discussing any and all elements of the most recent and noteworthy advancements in the ...