Giter VIP home page Giter VIP logo

heart-disease-classification-clustering's Introduction

Heart Disease Classification and Clustering

This project focuses on the application of various machine learning algorithms to analyze a dataset called heart.csv for classification and clustering tasks. The dataset contains the following columns:

  • age: Age of the individual
  • sex: Gender (0 for female, 1 for male)
  • cp: Chest pain type
  • trestbps: Resting blood pressure
  • chol: Serum cholesterol level
  • fbs: Fasting blood sugar > 120 mg/dl (1 for true, 0 for false)
  • restecg: Resting electrocardiographic results
  • thalach: Maximum heart rate achieved
  • exang: Exercise-induced angina (1 for yes, 0 for no)
  • oldpeak: ST depression induced by exercise relative to rest
  • slope: Slope of the peak exercise ST segment
  • ca: Number of major vessels colored by fluoroscopy
  • thal: Thalassemia type
  • target: Target variable (1 for presence of heart disease, 0 for absence)

Machine Learning Tasks

Classification

In the classification task, various machine learning algorithms will be applied to predict the presence or absence of heart disease based on the given features. Some of the algorithms that can be explored include:

  • Logistic Regression
  • Decision Trees
  • Random Forest
  • Support Vector Machines
  • K-Nearest Neighbors (KNN)
  • GaussianNB
  • DecisionTreeClassifier
  • RandomForestClassifier
  • AdaBoostClassifier
  • BaggingClassifier

Clustering

In the clustering task, we aim to group individuals based on similar characteristics. Some clustering algorithms to consider are:

  • K-Means Clustering
  • Hierarchical Clustering

Getting Started

  1. Clone this repository.
  2. Install the required libraries and dependencies.
  3. Run the Jupyter notebooks or Python scripts to perform classification and clustering.
  4. Analyze the results and make improvements as needed.

Data Source

The heart.csv dataset is the source of our data and can be found in the project folder.

Author

Parsa Khavarinejad This is a project for the data mining course - Tarbiat Modares University

Feel free to add any additional sections or details as needed for your project. Happy coding!

heart-disease-classification-clustering's People

Contributors

parsakhavarinejad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.