Skip to content

Add heart disease dataset #2019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

acharles7
Copy link
Contributor

@acharles7 acharles7 commented May 12, 2020

Add Dataset

Description

This data set contains 13 attributes and labels of heart disease from 303 participants from Cleveland since Cleveland data was most commonly used in modern research.

Attribute by column index

  1. age : age in years
  2. sex : sex (1 = male; 0 = female)
  3. cp : chest pain type
    (1 = typical angina; 2 = atypical angina; 3 = non-anginal pain; 4 = asymptomatic)
  4. trestbps : resting blood pressure (in mm Hg on admission to the hospital)
  5. chol : serum cholestoral in mg/dl
  6. fbs : (fasting blood sugar > 120 mg/dl) (1 = true; 0 = false)
  7. restecg : resting electrocardiographic results
  8. thalach : maximum heart rate achieved
  9. exang : exercise induced angina (1 = yes; 0 = no)
  10. oldpeak : ST depression induced by exercise relative to rest
  11. slope : the slope of the peak exercise ST segment (1 = upsloping; 2 = flat; 3 = downsloping)
  12. ca : number of major vessels (0-3) colored by flourosopy
  13. thal : 3 = normal; 6 = fixed defect; 7 = reversable defect
  14. num (the predicted attribute): diagnosis of heart disease (angiographic disease status)
    (0 = < 50% diameter narrowing, no presence of heart disease;
    1 = > 50% diameter narrowing, with increasing severity)

Dataset Homepage: http://archive.ics.uci.edu/ml/datasets/Heart+Disease

Checklist

  • Address all TODO's
  • Add alphabetized import to subdirectory's __init__.py
  • Run download_and_prepare successfully
  • Add checksums file
  • Properly cite in BibTeX format
  • Add passing test(s)
  • Add test data
  • Lint code

@googlebot googlebot added the cla: yes Author has signed CLA label May 12, 2020
@acharles7 acharles7 marked this pull request as ready for review May 12, 2020 22:44
@tfds-bot tfds-bot added the community:please_review Community - We need your help to review this PR. label May 12, 2020
@tfds-bot tfds-bot added community:is_reviewing This PR is being reviewed by community member. and removed community:please_review Community - We need your help to review this PR. labels May 13, 2020
@acharles7
Copy link
Contributor Author

@ChanchalKumarMaji Please have a look at this PR when you get a chance. Thankx

Copy link
Member

@Conchylicultor Conchylicultor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution. Just a small remark

@tfds-bot tfds-bot added author:please_respond Author - please respond to the recent comments. and removed community:is_reviewing This PR is being reviewed by community member. labels Jun 10, 2020
Copy link
Member

@Conchylicultor Conchylicultor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I'll try to merge this today.

@tfds-bot tfds-bot added tfds:is_reviewing TFDS team: PTAL and removed author:please_respond Author - please respond to the recent comments. labels Jun 11, 2020
@acharles7 acharles7 requested a review from Conchylicultor June 11, 2020 01:47
@tfds-bot tfds-bot added author:please_respond Author - please respond to the recent comments. tfds:is_reviewing TFDS team: PTAL and removed tfds:is_reviewing TFDS team: PTAL author:please_respond Author - please respond to the recent comments. labels Jun 11, 2020
@acharles7 acharles7 requested a review from Conchylicultor June 12, 2020 02:04
@acharles7
Copy link
Contributor Author

@Conchylicultor I have resolved all the comments. Please have look at it.

@vijayphoenix vijayphoenix added the dataset request Request for a new dataset to be added label Jun 21, 2020
@acharles7
Copy link
Contributor Author

@Conchylicultor Can you please take a look at this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Author has signed CLA dataset request Request for a new dataset to be added tfds:is_reviewing TFDS team: PTAL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants