Giter VIP home page Giter VIP logo

vedant-milind / framingham-data-set-analysis-using-ml-modelling-and-classification Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.53 MB

A Machine Learning Model to predict Heart Diseases with the help of Framingham Data Set

Jupyter Notebook 100.00%
machine-learning machine-learning-algorithms exploratory-data-analysis exploratory-data-visualizations linear-regression classification-algorithm support-vector-machines decision-tree-classifier random-forest-classifier

framingham-data-set-analysis-using-ml-modelling-and-classification's Introduction

A Machine Learning Model to predict Heart Diseases with the help of Framingham Data Set

About the dataset:

The dataset is publically available on the Kaggle website, and it is from an ongoing ongoing cardiovascular study on residents of the town of Framingham, Massachusetts. The classification goal is to predict whether the patient has 10-year risk of future coronary heart disease (CHD).The dataset provides the patients’ information. It includes over 4,240 records and 15 attributes.


Attributes:


  1. sex: male(0) or female(1);(Nominal)
  2. age: age of the patient;(Continuous - Although the recorded ages have been truncated to whole numbers, the concept of age is continuous)
  3. currentSmoker: whether or not the patient is a current smoker (Nominal)
  4. cigsPerDay: the number of cigarettes that the person smoked on average in one day.(can be considered continuous as one can have any number of cigarretts, even half a cigarette.)
  5. BPMeds: whether or not the patient was on blood pressure medication (Nominal)
  6. prevalentStroke: whether or not the patient had previously had a stroke (Nominal)
  7. prevalentHyp: whether or not the patient was hypertensive (Nominal)
  8. diabetes: whether or not the patient had diabetes (Nominal)
  9. totChol: total cholesterol level (Continuous)
  10. sysBP: systolic blood pressure (Continuous)
  11. diaBP: diastolic blood pressure (Continuous)
  12. BMI: Body Mass Index (Continuous)
  13. heartRate: heart rate (Continuous - In medical research, variables such as heart rate though in fact discrete, yet are considered continuous because of large number of possible values.)
  14. glucose: glucose level (Continuous)
  15. 10 year risk of coronary heart disease CHD (binary: “1”, means “Yes”, “0” means “No”) - Target Variable

Objective: Build a classification model that predicts heart disease in a subject.

(note the target column to predict is 'TenYearCHD' where CHD = Coronary heart disease)

Please do the following steps:

  • Read the file and display columns.
  • Handle missing values, Outliers and Duplicate Data
  • Calculate basic statistics of the data (count, mean, std, etc) and exploratory analysts and describe your observations.
  • Select columns that will be probably important to predict heart disease.
  • If you remove columns explain why you removed those.
  • Create training and testing sets (use 60% of the data for the training and reminder for testing).
  • Build a machine learning model to predict TenYearCHD
  • Evaluate the model (f1 score, Acuuracy, Precision ,Recall and Confusion Matrix)
  • Conclude your findings (Model which is giving best f1 score and why)

framingham-data-set-analysis-using-ml-modelling-and-classification's People

Contributors

vedant-milind avatar

Stargazers

 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.