Git Product home page Git Product logo

team-insighthub's Introduction

Team-InsightHub Premier Project

Understanding the Relationship Between Nutritional Content and Cereal Ratings: A Data-Driven Approach.

Introduction

In an era where quick meals are paramount, breakfast cereals stand out for their convenience. However, with this convenience comes a question of nutritional value, which varies greatly among different cereals. The US Food and Drug Administration (FDA) is amplifying efforts to educate consumers about nutritionally deficient options. The label "healthy" is not just a marketing term; it's a regulated claim that can only be used if the product meets specific nutritional criteria. Against the backdrop of heightened health consciousness and the crucial role of breakfast cereals in dietary patterns—particularly in underprivileged homes where food diversity is scant—our project seeks to navigate the cereal aisle effectively, ensuring food security and combating malnutrition.

Objectives:

Analysis of nutritional content provided. Predict ratings of cereals based on their nutritional makeup, providing a reliable guide for consumers. Systematically categorize cereals into 'Healthy' and 'Unhealthy' groups based on established nutritional criteria. Share insights from the analysis to enhance consumer understanding of cereal nutrition.

Flow of Project:

Exploratory Data Analysis --> Data Preprocessing --> Feature Engineering --> Model Selection & Training --> Evaluation & ValidationDeployment Strategy

Data Source:

The data set was taken from the Kaggle competition page - https://www.kaggle.com/datasets/crawford/80-cereals/data

Feature Description

The dataset contains a list of 77 different cereals, their manufacturer, the measurement of food nutrients present, the display shelf, the weight of each serving, the number of cups per serving, and the ratings of each cereal. The description of the fields is as follows:

  • name: Name of cereal
  • mfr: Manufacturer of cereal
  • A = American Hpme Food Products
  • G = General Mills
  • K = Kelloggs
  • N = Nabisco
  • P = Post
  • Q = Quaker oats
  • R = Ralston Purina type:
  • C = Cold
  • H = Hot
  • calories: calories per serving
  • protein: grams of protein
  • fat: grams of fat
  • sodium: milligrams of sodium
  • fiber: grams of dietary fiber
  • carbo: grams of complex carbohydrates
  • sugars: grams of sugars
  • potass: milligrams of potassium
  • vitamins: vitamins and minerals - 0, 25, 100, indicating the typical percentage of FDA recommended
  • shelf: display shelf (1, 2, or 3, counting from the floor)
  • weight: weight in ounces of one serving
  • cups: number of cups in one serving
  • rating: a rating of the cereals (Possibly from Consumer Reports)

Modelling

We built different algorithms, such as

  • Linear Regression
  • Lasso Regression
  • Ridge Regression
  • And compared their metrics.

Model selected for the project:

Ridge Regression

Model Deployment:

Streamlit was used to deploy the model https://cerealratings.streamlit.app/

Model Development

https://github.com/Awanieva/Team-InsightHub/blob/main/Model%20Development.ipynb

Exporatory Data Analysis

https://github.com/Awanieva/Team-InsightHub/blob/main/Cereal_Analysis.ipynb

Dashboard Link (POWER BI)

https://app.powerbi.com/view?r=eyJrIjoiNzY0ZGIxY2ItOTIzNS00MDExLWIxOTctZGNhOTY4ZmExMGU2IiwidCI6IjU0NjJmMDc4LWFiYTgtNDE1OS05MWYwLWVhODg1MmJjOTU4NCJ9

Link to the documentation

https://docs.google.com/document/d/1yrMF1zah_ge0fWaWuJOBfn8SvUQtZovUJOHWPjSnhto/edit

Link to Deployment Code

https://github.com/Awanieva/Team-InsightHub/blob/main/streamlitapp.py

Link to the Presentation slide

https://docs.google.com/presentation/d/1up5pbGX2o7K2MrQRRwiTx4erFMNKZSziW1jhObrMX1g/edit?usp=sharing

team-insighthub's People

Contributors

awanieva avatar perseusethan avatar monjokt avatar maroofoa avatar annepet-ameh avatar mobkimark avatar toba-io avatar

Stargazers

 avatar  avatar  avatar  avatar Toba avatar

Watchers

 avatar

Forkers

monjokt

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.