Coder Social home page Coder Social logo

bakar31 / heart-disease Goto Github PK

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

Heart disease analysis and prediction using Machine Learning.

License: MIT License

Python 0.45% Jupyter Notebook 99.55%
heart-disease-prediction heart-disease-analysis heart-disease-classification heart-disease-dataset heart-disease-model

heart-disease's Introduction

Heart-Disease Analysis and Prediction

About the dataset:

This data set dates from 1988 and consists of four databases: Cleveland, Hungary, Switzerland, and Long Beach V. It contains 76 attributes, including the predicted attribute, but all published experiments refer to using a subset of 14 of them. The target field refers to the presence of heart disease in the patient.

 0 = doesn't have heart disease
 1 = has heart disease

Repository Analysis:

data -> Contains the dataset of this project.

notebooks -> Contains two notebooks. One is for analysis another is for model evaluation.

src -> Contains all python files.

My approch:

The dataset was pretty straight forward. Didn't need much preprocessing. Feature Engineeing, Feature Selection, Feature Scaling lead to overfitting. So, I avoided those steps. Dataset was divided into train and dev set. Trained the model on train set and check overfitting on dev set.

Random Forest algorithm has highest score.

train score: 0.987
dev score:0.976

LICENSE

MIT

Follow Me on:

LinkedIn

Facebook

Kaggle

YouTube

heart-disease's People

Contributors

bakar31 avatar

Watchers

 avatar

Forkers

hellotuibay

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.