Skip to content

kyprosantreou/Heart-Attack-Prediction-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heart Attack Prediction Program

This Python program provides a user-friendly menu to select and run different machine learning models on a heart attack dataset. The available models include Decision Tree, Random Forest, K-Nearest Neighbour (KNN), Support Vector Machine (SVM), and Naive Bayes. Additionally, the program allows the user to execute all the models in sequence.

Features

  • Model Selection: Choose from Decision Tree, Random Forest, K-Nearest Neighbour (KNN), Support Vector Machine (SVM), or Naive Bayes.
  • All Models Option: Run all the available models sequentially.
  • Interactive Menu: User-friendly selection menu with error handling for invalid inputs.
  • Data Handling: Loads data from a CSV file and applies the selected machine learning model.

Prerequisites

Make sure you have the following Python libraries installed:

  • pandas
  • scikit-learn

You can install them using pip if they are not already installed:

pip install -r requirements.txt

Author:

Kypros Andreou

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages