Giter VIP home page Giter VIP logo

smoking_cessation_training's Introduction

Smoking_Cessation_Training

Training Model - Smoking Cessation

This is the first training model the ASDM framework https://github.com/wzh1895/ASDM to get people used to coding SD models in Python using ASDM.

Model Purpose

The model imagines a health system where a decision has to be made about re-investment rates from a smoking cessation program:

Smoking_Cessation_Model

Model Demo

You can start playing with the model here: https://smokingcessation.streamlit.app/

Notebooks

To help new users get used to python and SD notebooks are best because they allow users to iterate line-by-line as they get their head around what the code is doing.

In this tutorial we have used a juptyer notebook or .ipynb file to guide new users through the process step by step.

Installing python and generally getting things working

If you are totally new to all of this please check out: https://mattstammers.github.io/hdruk_avoidable_admissions_collaboration_docs/how_to_guides/new_to_python/ where we will take you through how to set everything up from scratch. If you need help from your hospital to install python we recommend talking to the IT team and perhaps even directing them to this website. Particularly hospital BI teams are likely to be interested in it!

Quickstart

If you are ready to go straight away then from the point of having git and the python packaging tool 'pip' installed you can be up and running in only 6 steps as listed below running each in series.

1. git clone https://github.com/ReallyUsefulModels/Smoking_Cessation_Training.git
2. cd Smoking_Cessation_Training
3. pip install pipenv
4. pipenv install
5. pipenv shell
6. juptyer-lab

It doesn't matter where you run the above set of instructions. As long as you have the right permissions on the machine it should launch a browser from the kernel and you will be into the notebook. If you would rather use VS-code instead you just need to select the correct kernel and it should work.

We have made sure that ASDM works in any python distribution above 3.9 in both Windows and Linux. However, if you experience a new problem please let us know!

Now you should be able to follow the notebook.

Streamlit App

The source code for the Smoking Cessation Streamlit App is included. We have deliberately kept this as simple as possible so others can use it as a boilerplate for their own apps.

smoking_cessation_training's People

Contributors

mattstammers avatar wzh1895 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mattstammers

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.