Giter Site home page Giter Site logo

tmthyjames / achoo Goto Github PK

View Code? Open in Web Editor NEW
209.0 24.0 15.0 8.32 MB

Achoo uses a Raspberry Pi to predict if my son will need his inhaler on any given day using weather, pollen, and air quality data. If the prediction for a given day is above a specified threshold, the Pi will email his school nurse, and myself, notifying her that he may need preemptive treatment. Community-sourced health monitoring!

Home Page: https://tmthyjames.github.io/2018/january/Achoo-beta-0.1/

License: MIT License

Python 1.81% R 0.20% Shell 0.02% CSS 7.30% JavaScript 10.23% HTML 80.45%
python r raspberry-pi data-science prediction diy pollen air-quality-data weather

achoo's People

Contributors

dependabot[bot] avatar huangsam avatar sparklespdx avatar tmthyjames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

achoo's Issues

Create results page

This is here the user will check the daily prediction for an asthma/allergy reaction

Please share the data used in logistic regression

For some reasons i'm not able to get hold of the data..
It would be really helpful if u can send me the data set which is getting as input to logistic regression..
thanks a lot in advance for help...

Set up Flask app

configure bare minimum flask app serving a form to user asking for

email
password
zip code (for weather, allergen, air quality data)
what's currently being used to combat allergies/asthma
how often meds/inhaler is administered

Restructure directory

I'm thinking:

|----.gitignore
|----requirements.txt
|----LICENSE
|----README.md
|----app
     |----utils.py
     |----constants.py
     |----/models
     |    |----/py
     |    |    |----example_nueral_network.py
     |    |    |----example_naive_bayes.py
     |    |----/r
     |         |----achoo_model_logistic.r          
     |----/data
          |----sqlite.db
          |----treatment_tracker.py
          |----/munging
               |----get_air_data.py
               |----get_allergy_data.py
               |----get_weather_data.py
               |----get_results.py
|----img
|    |----IMG_5918.JPG
|    |----IMG_5919.JPG

The models directory is split into different languages. I'd like the project to be language-agnostic when it comes to the models that are used.

I'm open to ideas on best way to structure the app though.

Spring Cleaning (Pay Tech Debts)

Things to look at:

• database schema (make sure all inputs are being sanitized)
• make sure all errors are being caught and dealt with
• modularize anywhere possible

...

Add home page

This page should explain what Achoo does and how it does it (high level)

"model" is undefined in run_model.r

Line 26:

predict_value <- predict(model, newdata = dtab[1,])

model is not defined.

It should be defined like:

model <- readRDS('achoo_model_logistic.rds')

Suggestion: Web Interface

To make this more friendly to non-developers a web interface is probably the best way to go in my opinion. Maybe flask or django?

make username case insensitive

a user informed me that he couldn't sign in. Apparently his phone capitalized the first letter of his username automatically but he didn't realize it. And he couldn't figure out why he couldnt sign in.

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.