Giter Club home page Giter Club logo

heart-disease-analysis-and-prediction's Introduction

Heart-Disease-Analysis-and-Prediction

See project site at byte7.github.io for a description of the results.

Jupyter notebooks and files used to generate the results and plots for the project :-

  1. convert_ssv_to_csv.py: Converts a file with space-separated values into a file with comma-separated values.

  2. join_files.py: Joins files downloaded from the UC Irvine Machine Learning Repository into a single file for processing by the iPython notebook below.

  3. Heart_Disease_Analysis_Complete.ipynb: Jupyter notebook to read in the data, store it in a Pandas dataframe for initial processing and plots, and analyze with a logistic regression model.

The initial processing steps of this project are as follows:

curl -o data/cleveland14.csv https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/processed.cleveland.data

curl -o data/hungarian14r.ssv https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/reprocessed.hungarian.data

curl -o data/switzerland14.csv https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/processed.switzerland.data

curl -o data/long_beach_va14.csv https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/processed.va.data

python convert_ssv_to_csv.py hungarian14r

python join_files.py

The output of join_files.py is file data/heart_disease_all14.csv and is ready for processing by Heart_Disease_Analysis_Complete.ipynb.

heart-disease-analysis-and-prediction's People

Contributors

byte7 avatar akshah1997 avatar

Watchers

James Cloos 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.