Skip to content

This repository contains code and a dataset for predicting heart failure rates using PyTorch. The predictive model is built upon the "Heart Failure Clinical Records Dataset" obtained from Kaggle, which includes various clinical features related to heart health.

License

Notifications You must be signed in to change notification settings

avulaankith/Heart-Failure-Rate

Repository files navigation

Heart Failure Rate Prediction with PyTorch

This repository contains code and a dataset used for predicting heart failure rates using PyTorch. The dataset utilized for this analysis is the "Heart Failure Clinical Records Dataset" obtained from Kaggle. It encompasses various clinical features that are potentially indicative of heart health.

Repository Contents:

  • heart_failure_clinical_records_dataset.csv: The dataset used for training and evaluation purposes.
  • heart_rate.ipynb: Jupyter Notebook containing the complete model implementation.
  • logreg_model_heart.h5: Logistic regression model saved as an HDF5 file.
  • logreg_model_heart_all.h5: Another version of the logistic regression model saved as an HDF5 file.
  • LICENSE: Apache-2.0 license file.

Usage:

  1. Clone the repository:

    git clone https://github.com/avulaankith/Heart-Failure-Rate.git
  1. Explore the code provided in the Jupyter Notebook heart_rate.ipynb to understand the model implementation and data analysis.

  2. Utilize the saved models (logreg_model_heart.h5 and logreg_model_heart_all.h5) for inference or further development.

Dataset Information:

The dataset used in this project, "Heart Failure Clinical Records Dataset," comprises various clinical features that can be leveraged to predict heart failure rates. It contains fields such as age, anaemia, creatinine levels, diabetes status, ejection fraction, high blood pressure, platelets count, serum creatinine, serum sodium, sex, smoking status, and more.

Model Information:

The predictive models in this repository are based on logistic regression. The models have been trained and saved for reference as HDF5 files (logreg_model_heart.h5 and logreg_model_heart_all.h5). The Jupyter Notebook heart_rate.ipynb contains the complete implementation, including data preprocessing, model training, evaluation, and inference.

License:

This project is licensed under the terms of the Apache License 2.0. See the LICENSE file for details.

Acknowledgments:

  • Kaggle user andrewmvd for providing the Heart Failure Clinical Records Dataset.

About

This repository contains code and a dataset for predicting heart failure rates using PyTorch. The predictive model is built upon the "Heart Failure Clinical Records Dataset" obtained from Kaggle, which includes various clinical features related to heart health.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published