Data analysis and Machine Learning models to predict heart disease
A python3 program which used data analysis techniques to observe trends between various risk factors for heart diseases. Then, machine leaning models were created to predict whether a person has heart disease based on those risk factors. See my findings here!

Setup
Installation
- Install
Python 3.7or above. - Install these modules:
- NumPy
- pandas
- matplotlib
- seaborn
- scikit-learn
Running the program
- Download the
cleveland.csvfile andheart_disease.pyfiles. - Place them inside the same folder.
- Open the aforementioned folder in your terminal (for MacOS and Linux) or command prompt (for Windows).
- Type
python heart_disease.pyand press enter to run the program.
OR
- Install any IDE.
- Create a new project, copy the
heart_disease.pycode and paste it in a.pyfile. - Run the program.
Models used:
Contributing
Pull requests are welcome for adding more ML models or fixing exisiting issues.