Code Monkey home page Code Monkey logo

dash-tutorial's Introduction

Overview

This repository contains tutorial code for developing and deploying a dash application for predicting heart failure to Microsoft Azure. The goal is to provide an example of a well structured application, utilizing a wide variety of dash features, and being easily generalizable to other use cases.

Data

The data used for this project is the Heart Failure prediction dataset available on kaggle here: https://www.kaggle.com/datasets/andrewmvd/heart-failure-clinical-data

Components

  1. model.py: Trains ensemble model to predict death event as a factor of input variables. Adds predicted column to heart failure dataset
  2. app.py: Generates front end dash application to visualize data and handle use inputs, contains multiple components:
  • Initial Data preprocessing
  • Definition of individual app components; sidebar, main page, headers, etc.
  • Definition of app structure incorporating individual components
  • Callbacks for taking user input

Final Product

The finished dashboard can be seen below, it includes a wide variety of dash components and can be easily modified for other datasets that require multiple graphs, text box's, and filters.

A walkthrough of the code can be found here: https://medium.com/p/e4696599377d

Dashboard

Alt text

dash-tutorial's People

Contributors

pinstripezebra 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.