Downloads · 30 days
0
CXu0630/2026-24679-coffee-premium-classifier
2026-24679-coffee-premium-classifier is a tabular classification model from CXu0630. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. It is set up for autogluon.
Binary classifier predicting whether a retail coffee bag is premium (1) or standard (0) from its brand, origin, roast, grind, and packaging facts.
Downloads · 30 days
0
Access
Public
Updated Sep 23, 2026
Repo size
938 KB
Likes
0
Public
Click a slice to open those files.
.zip919 KB · 98%
From the Hugging Face model README
Binary classifier predicting whether a retail coffee bag is premium (1) or standard (0) from its brand, origin, roast, grind, and packaging facts.
Trained on ssg1/coffee-bags-tabular, a classmate-built
tabular dataset for 24-679 (Fall 2026), Carnegie Mellon University. is_premium is a fixed
threshold on price-per-ounce; the price columns that define it are excluded from the feature set
to avoid data leakage. Features: altitude_masl, weight_g, altitude_stated, brand, origin, processing, roast_level, grind.
Selected via AutoGluon TabularPredictor AutoML search (presets="medium_quality",
eval_metric="balanced_accuracy", 5-minute time budget, bagging/stacking disabled). Best model:
LightGBM.
| Metric | Value |
|---|---|
| Accuracy | 0.667 |
| Balanced accuracy | 0.667 |
| Precision (premium) | 0.667 |
| Recall (premium) | 0.667 |
| F1 (premium) | 0.667 |
Classroom exercise (24-679). 356 rows total, a small, non-random sample of retail coffee bags. Not validated for real purchasing decisions.
import cloudpickle, huggingface_hub
path = huggingface_hub.hf_hub_download("CXu0630/2026-24679-coffee-premium-classifier", "autogluon_predictor.pkl")
predictor = cloudpickle.load(open(path, "rb"))