bareethul commited on
Commit
c46bf29
·
verified ·
1 Parent(s): 0188c09

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +97 -65
README.md CHANGED
@@ -43,69 +43,101 @@ pretty_name: Beverage Energy Tracker
43
  size_categories:
44
  - 10K<n<100K
45
  ---
 
46
 
47
- # Model Card - Beverage Energy Tracker Dataset
48
-
49
- ## Purpose
50
- This dataset was created to analyze and model the energy related characteristics of common beverages based on measurable features. It is intended for educational and experimental machine learning use cases, such as binary classification and feature importance analysis.
51
-
52
- ## Composition
53
- The dataset contains:
54
- - 30 manually collected real world samples in the `original` split
55
- - 300 label preserving synthetic samples in the `augmented` split
56
- Each sample includes:
57
- - 5 input features (category, Added sugar(g), Calories, Volume, Energy rating)
58
- - 1 binary target variable indicating the sugar level (is high sugar?)
59
-
60
- ## Collection
61
- Data was manually gathered from the product description pages of:
62
- - Starbucks
63
- - ALDI USA
64
- - MarketDistrict
65
- - Amazon
66
- - Walmart
67
-
68
- Feature values such as sugar content, calories, volume and category were noted for each drink. Energy rating collected from consumers (Friends). The binary target (`is_high_sugar?`) was assigned based on sugar content (0 if <20g).
69
-
70
- ## Preprocessing & Augmentation
71
- - Basic preprocessing: cleaned column names, ensured numerical features were floats/integers.
72
- - For augmentation, **label preserving jitter techniques** were used:
73
- - Gaussian noise was added to continuous features (`Added sugar (g)`, `Calories`).
74
- - ±1 encoding step changes applied to the integer feature (`Energy rating`), clipped to valid bounds (1-5).
75
- - Categorical fields (`Beverage type`, `Volume`) were left unchanged to preserve label consistency.
76
- - This process expanded the dataset to 300 augmented samples.
77
-
78
-
79
- ## Labels
80
- - **Features:**
81
- - `Beverage type` (categorical, string)
82
- - `Added sugar (g)` (float)
83
- - `Calories` (float)
84
- - `Volume` (categorical, 300 mL or 355 mL)
85
- - `Energy rating` (int, 1–5)
86
- - **Target:**
87
- - `is high sugar?` – integer label, also used for prediction tasks
88
-
89
- ## Splits
90
- - `original`: 30 real world examples
91
- - `augmented`: 300 synthetic samples via jitter based augmentation
92
-
93
- ## Intended Use / Limitations
94
- - **Use cases:** regression/classification practice, feature importance exploration, interpretable ML projects
95
- - **Limitations:** small original sample size, subjective energy rating label, dataset not exhaustive of all beverage categories
96
-
97
- This dataset is **not** intended for nutrition advice or commercial recommendation engines.
98
-
99
- ## Ethical Notes
100
- - No personally identifiable information is included.
101
- - Energy ratings are subjective and approximate.
102
- - Consumers should not use this data for health or fitness decisions.
103
-
104
- ## License
105
- This dataset is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
106
-
107
- ## AI Usage Disclosure
108
- ChatGPT (GPT-4) was used as a **teammate throughout the process** to assist with:
109
- - On the go Python coding
110
- - Augmentation approach
111
- - Polishing and formatting the final dataset and notebook
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  size_categories:
44
  - 10K<n<100K
45
  ---
46
+ # Dataset Card for Beverage Energy Tracker
47
 
48
+ This dataset card documents the **Beverage Energy Tracker** dataset.
49
+ It contains nutritional and energy-related features of 30 unique beverages, with an augmented split expanding to 300+ rows.
50
+
51
+ ---
52
+
53
+ ## Dataset Details
54
+
55
+ **Dataset Description**
56
+ - **Curated by:** Bareethul Kader (Carnegie Mellon University, EST&P program)
57
+ - **Language(s):** English (column labels, beverage names)
58
+ - **License:** CC BY 4.0
59
+ - **Repository:** [bareethul/beverage-energy-tracker](https://huggingface.co/datasets/bareethul/beverage-energy-tracker)
60
+
61
+ ---
62
+
63
+ ## Uses
64
+
65
+ **Direct Use**
66
+ - Educational practice in data collection, preprocessing, and augmentation.
67
+ - Demonstration of label-preserving jitter augmentation for tabular datasets.
68
+
69
+ **Out-of-Scope Use**
70
+ - Not intended for clinical, nutritional, or health policy decision-making.
71
+ - Values are approximate and curated manually — not to be used for dietary guidance.
72
+
73
+ ---
74
+
75
+ ## Dataset Structure
76
+
77
+ - **Original split:** 30 manually curated beverages.
78
+ - **Augmented split:** 300 rows, generated with Gaussian jitter (for continuous features) and ±1 step encoding (for ordinal features).
79
+
80
+ **Features:**
81
+ - `Beverage type` (string)
82
+ - `Added sugar (g)` (float)
83
+ - `Calories` (float)
84
+ - `Volume (mL)` (integer)
85
+ - `Energy rating (1–5)` (ordinal target label)
86
+
87
+ ---
88
+
89
+ ## Dataset Creation
90
+
91
+ **Curation Rationale**
92
+ To study how nutritional features (sugar, calories, volume) can relate to an *energy rating*.
93
+
94
+ **Data Collection and Processing**
95
+ - Data manually collected from: Starbucks, ALDI USA, MarketDistrict, Amazon, Walmart product pages.
96
+ - Manual preprocessing and type formatting were applied (e.g., ensuring numeric columns, clipping noise to avoid negative values).
97
+
98
+ **Source Data Producers**
99
+ - Original producers: beverage manufacturers and retailers (nutritional info posted publicly).
100
+ - Dataset curated by Bareethul Kader for educational purposes.
101
+
102
+ ---
103
+
104
+ ## Annotations
105
+
106
+ - **Annotation Process:** Energy rating was assigned manually (scale 1–5).
107
+ - **Annotators:** Dataset creator.
108
+
109
+ ---
110
+
111
+ ## Personal and Sensitive Information
112
+
113
+ - No personal or sensitive data included.
114
+
115
+ ---
116
+
117
+ ## Bias, Risks, and Limitations
118
+
119
+ - Limited to 30 beverages (not representative of all products).
120
+ - Energy rating is subjective, not an industry standard.
121
+ - Augmentation may create unrealistic numeric combinations.
122
+
123
+ ---
124
+
125
+ ## Recommendations
126
+
127
+ Users should be aware of the risks, biases, and limitations of the dataset.
128
+ It is intended only for **educational demonstrations** of dataset creation, preprocessing, and augmentation.
129
+ Do not generalize results to real nutrition/health applications.
130
+
131
+ ---
132
+
133
+ ## Citation
134
+
135
+ **BibTeX:**
136
+ ```bibtex
137
+ @dataset{bareethul_beverage_energy_tracker,
138
+ author = {Kader, Bareethul},
139
+ title = {Beverage Energy Tracker},
140
+ year = {2025},
141
+ publisher = {Hugging Face Datasets},
142
+ url = {https://huggingface.co/datasets/bareethul/beverage-energy-tracker}
143
+ }