Challenge

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
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.