Project 1
Predict Heart Disease using Machine Learning Models
- Import the necessary libraries
- Load the dataset
- Check for null values
- Perform correlation
- Perform five different machine learning models Logistic Regression, K-Nearest Neighbours Classifier, Support Vector Machine, Decision Tree Classifier, and Random Forest Classifier on the given dataset
- import libraries
- read the CSV file (heart.csv)
- split the dataset into features and the target variable
- preprocessing the data
- split the data into train and test
- Build the models
- Evaluate the models
- Print the accuracy score