Skip to content

Asifr001/Machine_Learning_Heart_Failure_Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Heart Failure Prediction Using Machine Learning

This project focuses on predicting the likelihood of death in patients with heart failure using clinical records and a variety of machine learning algorithms. The dataset includes 299 real patient records with features like age, blood pressure, serum creatinine, diabetes, and other health indicators. By applying and comparing multiple classifiers, the goal is to identify patterns that could support early intervention and better patient outcomes.

๐Ÿ” Project Highlights

  1. Data Exploration: The dataset was split into categorical and continuous features to streamline the analysis.

  2. Preprocessing: Applied standard scaling and train-test splitting for model consistency.

  3. Model Comparison: Tested multiple classification models including:

a) Logistic Regression b) Support Vector Classifier c) K-Nearest Neighbors d) Decision Tree e) Naive Bayes f) Random Forest

  1. Evaluation: Accuracy scores were compared across models to identify the most reliable predictor for mortality.

๐Ÿ’ก Why This Project Matters Heart failure is a critical public health issue, and early prediction of patient risk can significantly improve outcomes. This project showcases how machine learning can enhance clinical decision-making by identifying high-risk individuals through data-driven modeling.

๐Ÿš€ What's Unique

  1. A hands-on comparison of multiple algorithms on a healthcare dataset.
  2. Practical and explainable steps in preprocessing, making it replicable and easy to adapt for other clinical conditions.
  3. Clear separation of features to distinguish clinical indicators and patient demographics.

๐Ÿ”ง Potential Extensions

  1. Add model interpretability tools like SHAP or LIME to explain predictions.
  2. Integrate cross-validation and hyperparameter tuning.
  3. Deploy the best model as a web application for real-time clinical use.

About

Predicting mortality risk in heart failure patients using machine learning models on clinical data by Python

Topics

Resources

Stars

Watchers

Forks