Coder Social home page Coder Social logo

angelpatriciads / risk-heart-disease-prediction Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 471 KB

Make the best deep neural network model with hypertuning to carry out the classification process of detecting people having or not having heart disease. Then, do analysis on accuracy, precision, recall and, f1-score of the model.

Jupyter Notebook 100.00%
deep-learning neural-network prediction

risk-heart-disease-prediction's Introduction

Diagnosing the Risk of Heart Disease using Deep Learning

-- Project Status: Completed

Project Objective

Make the best deep neural network model with hypertuning to carry out the classification process of detecting people having or not having heart disease. Then, do analysis on accuracy, precision, recall and, f1-score of the model.

Methods Used

  • Deep Learning
  • Neural Network

Language

  • Python

Module

  • Pandas
  • Matplotlib
  • Numpy
  • Seaborn
  • Keras
  • Tensorflow
  • Sklearn

Step-by-step

  1. Dataset analysis
  2. Cleaning data
    • Handle missing values
    • Handle duplicates data
    • Hanlde the outliers
  3. Data Visualization
  4. Sampling data
    • The data is quite balanced, no need for over/undersampling
  5. Data preparation
    • Train-test-val split with the proportion 8:1:1
  6. Tuning hyperparameter
    • Best number of layer : 3
    • Best number of neuron : 300
  7. Build the model
  8. Model evaluation
    • Precision : 0.83
    • Recall : 0.79
    • F1-score : 0.80
    • Accuracy : 81%

Getting Started

  1. You can access the raw data here within this repo.
  2. All of the scripts are being kept here.

risk-heart-disease-prediction's People

Contributors

angelpatriciads avatar

Stargazers

Latifa Aulia Esmananda avatar Tertius  avatar Kevin Marcellius Alrino avatar Hosia Josindra Saragih 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.