Skip to content

saniasiddiqui231/CardioTree-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

CardioTree Classifier

This mini machine learning project aims to predict the likelihood of heart disease using a decision tree algorithm. The project utilizes scikit-learn for creating the decision tree model and making predictions. The dataset is divided into training and testing sets to evaluate the model's performance.

Created under Self Paced Program by Girls Who Code.

Features

  • Decision Tree Classifier: Utilizes a decision tree algorithm to predict heart disease.
  • Scikit-Learn Integration: Employs the scikit-learn library for model creation, training, and prediction.
  • Data Splitting: Divides the dataset into training and testing subsets to evaluate accuracy.

Requirements

  • Python 3.x
  • scikit-learn
  • pandas
  • numpy

Usage

  1. Clone the repository git clone <repository url>
  2. Navigate to the repository. cd heart-disease-prediction
  3. Run the script. python3 main.py

← heartDisease_2020_sampling.csv

This csv file contains data on factors of heart disease. You can learn more about this dataset in your worksheet in Part 2: https://assets.ctfassets.net/idmfh0ehr6d7/3gBpyycY5ShWzLSG3GuH2K/cb483e835f1d29eeaa74d29d1453a9b8/Intro_to_Machine_Learning_Worksheets.pdf

← helperfunctions.py

This file contains helper functions you can call in predict.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages