Giter Site home page Giter Site logo

nutriscore-label-decision-modeling's Introduction

Nutriscore Label Decision Modeling

This repository represents the culmination of work completed as part of a Decision Modeling Course. The project is structured into various sections, each contributing to the development and analysis of the NutriScore label decision model.

Objective

The primary goal of this project is to create and assess a NutriScore label decision model using data from OpenFoodFacts. The model involves data extraction, preprocessing, and the construction of various models to assign a NutriScore label to food products.

Sections Overview

Data Processing

  1. Data Extraction: The project begins by extracting relevant data from OpenFoodFacts. The extracted data is preprocessed to ensure its suitability for further analysis. This process is carried out in the file code\extract_products_by_category.ipynb, resulting in the creation of /data/final_preprocessed_data.csv.

NutriScore Additive Model

  1. Model Development: This section is dedicated to constructing the NutriScore additive model:

Electri-tri Model

  1. Electri-tri Model Construction: This section details the creation of both optimistic and pessimistic Electri-tri models. The process, outlined in code\electri_model.ipynb, involves building profiles and creating these specialized models.

Machine Learning Models

  1. Machine Learning Model Building: In addition to the NutriScore additive model and Electri-tri models, this section explores the development of machine learning-based models. These models, documented in code\machine_learning_model.ipynb, complement the decision-making process.

Comparative Analysis

  1. Comparison with Other Models: Finally, a comparative analysis is conducted by evaluating and contrasting the results obtained in this project with other students' models. The comparison is detailed in code\compare_model.ipynb.

Note: Ensure all necessary libraries and their versions are installed as per the specifications listed in /requirements.txt.

Usage

Refer to individual notebooks within the code directory for detailed implementation, methodologies, and results corresponding to each phase of the NutriScore label decision model.

Feel free to explore and contribute to the project, and don't hesitate to reach out for further inquiries or suggestions.

nutriscore-label-decision-modeling's People

Contributors

aliabusaleh avatar risg99 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.