Giter Site home page Giter Site logo

nutopt's Introduction

NutOpt

Yet another Nutritional Optimizer. As all the already available in github, but made by me :)

Sorry for the inconvenience, but I haven't dedicated enough time to make this beautifully packaged, so everything is just a mess by now. Important files we have to run are the streamlit ones. Specially:

  • streamlit_app_avena2.py
  • streamlit_category_estimation.py The first one is an optimizer that given some constraints for each food category, it provides a mix of recipes (scraped from the website of Avena Mx) that satisfy all our needs. The suggestion is random so every time we run the optimizer we get a new set of recipies that satisfy all our requirements. The second streamlit is still an ongoing project which resulted harder than I expected, still researching on it. It should dynamically provide the minimum and maximum range of each category of food given some constraints. Similar to the problem before, but this one is the base for the previous one. So for example, if we have a Diet of 2200 Calories, then we can get a diet with Vegetables, Fruits, Cereals, Meats, and Oils that satisfy still with the official requirements (DRI, Daily Recommended Intake of Proteins, Fats, Carbohidrates). All this calculations are right now based on the SMAE (Sistema Mexicano de Alimentos Equivalentes).

Just as a future reference, some links where I can consult important stuff.

USDA data download https://fdc.nal.usda.gov/download-datasets.html

National Institutes of Health. (info on Reference Intakes) https://www.ncbi.nlm.nih.gov/books/NBK545442/

nutopt's People

Contributors

oscarflores-ifi 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.