Giter Club home page Giter Club logo

crafting-the-perfect-cocktail's Introduction

A Practical Approach: Running Test cycle with different choices of Loss function and Activation Functions.

We will use Heart failure clinical record data set (source:https://www.kaggle.com/datasets/andrewmvd/heart-failure-clinical-data/data). We will use ANN model with several activation functions with the same loss function.

We are trying to predict / classify โ€ฆ..

Cardiovascular diseases (CVDs) are the number 1 cause of death globally, taking an estimated 17.9 million lives each year, which accounts for 31% of all deaths worlwide.

Heart failure is a common event caused by CVDs and this dataset contains 12 features that can be used to predict mortality by heart failure.

Most cardiovascular diseases can be prevented by addressing behavioural risk factors such as tobacco use, unhealthy diet and obesity, physical inactivity and harmful use of alcohol using population-wide strategies.

People with cardiovascular disease or who are at high cardiovascular risk need early detection and management wherein a ML or DL model can be of great help.

We will predict the survival of patients with heart failure from serum creatinine and ejection fraction alone. For that our aim is:

  • To classify / predict whether a patient is prone to heart failure depending on multiple attributes.
  • It is a binary classification with multiple numerical and categorical features.

About the data:

  • age: Age of the patient
  • anemia: If the patient had the hemoglobin below the normal range
  • creatinine_phosphokinase: The level of the creatine phosphokinase in the blood in mcg/L
  • diabetes: If the patient was diabetic
  • ejection_fraction: Ejection fraction is a measurement of how much blood the left ventricle - - pumps out with each contraction
  • high_blood_pressure: If the patient had hypertension
  • platelets: Platelet count of blood in kilo platelets/mL
  • serum_creatinine: The level of serum creatinine in the blood in mg/dL
  • serum_sodium: The level of serum sodium in the blood in mEq/L
  • sex: The sex of the patient
  • smoking: If the patient smokes actively or ever did in past
  • time: It is the time of the patient's follow-up visit for the disease in months
  • DEATH_EVENT: If the patient deceased during the follow-up period

Classification:

alt text
Classification - Loss Function: Categorical_crossentropy : alt text
alt text
Classification - Loss Function: Mean_squared_error :

alt text
Classification - Loss Function: Binary_crossentropy : alt text

Summary of Validation Accuracy(Closing Call)

alt text
alt text
alt text
alt text
alt text

crafting-the-perfect-cocktail's People

Contributors

atugharajohn avatar

Stargazers

Adeleye Olaniyan avatar Geovanni Granda avatar Sanjana avatar  avatar  avatar  avatar  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.