Giter Site home page Giter Site logo

muhammad-talha4k / heart-disease-prediction Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

Heart Disease Prediction using SVM Classifier in Python

Jupyter Notebook 100.00%
heart-disease-classification heart-disease-prediction jupyter-notebook python svm-classifier

heart-disease-prediction's Introduction

Heart Disease Prediction using SVM

This project aims to predict whether a person has heart disease or not based on various attributes such as age, sex, chest pain type, blood pressure, cholesterol level, etc. The project uses a support vector machine (SVM) classifier to perform the prediction task.

Dataset

The dataset used for this project is the Heart Disease UCI dataset from the [UCI Machine Learning Repository]. The dataset contains 303 instances and 14 attributes, including the target attribute target which indicates whether the person has heart disease (1) or not (0).

Requirements & Usage

The project requires the following libraries and packages:

  • Python 3.8 or higher
  • NumPy
  • Pandas
  • Scikit-learn

You can install them using pip:

pip install pandas numpy sklearn 

To run the project, you can use the following command:

  1. After installing the dependencies, you can clone this repository to your local machine using the following command:
    git clone https://github.com/Muhammad-Talha4k/Heart-Disease-Prediction.git
    
    This notebook contain the code and explanation of the task.
    

Results

The project achieves an accuracy of 82% on the test set using the SVM classifier with a linear kernel.

Contributions

We welcome contributions from the community. Feel free to suggest improvements, fixes, or new features through issues or pull requests.

heart-disease-prediction's People

Contributors

muhammad-talha4k 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.