Downloads · 30 days
0
cmuchancel/2026-24679-coffee-autogluon-regressor
2026-24679-coffee-autogluon-regressor is a machine learning model from cmuchancel. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for autogluon. The card lists the license as mit.
This model was created for CMU 24-679 Homework 2. It predicts the continuous price per ounce of a retail coffee bag from package attributes.
Downloads · 30 days
0
Access
Public
Updated Sep 23, 2026
Repo size
5.4 MB
Likes
0
Public
Click a slice to open those files.
.zip5.4 MB · 100%
From the Hugging Face model README
This model was created for CMU 24-679 Homework 2. It predicts the continuous price per ounce of a retail coffee bag from package attributes.
Source dataset: ssg1/coffee-bags-tabular
The dataset was created by a classmate for Homework 1. I used the published splits without resplitting:
The training split contains training originals and their augmented versions. Validation and test contain held-out original samples.
Target:
price_per_oz ($/oz)Features:
altitude_maslweight_galtitude_statedoriginprocessingroast_levelgrindprice_usd was excluded because price_per_oz is derived from price
and package weight, which would introduce target leakage. brand,
identifiers, augmentation metadata, and the separate is_premium
classification target were also excluded.
The existing train, validation, and test splits were retained.
Numeric features were converted to numeric values. Categorical features were stored as categorical variables and handled automatically by AutoGluon.
No information from the test split was used for model selection.
Framework: AutoGluon Tabular
Task: Regression
Model-selection metric: Root Mean Squared Error (RMSE)
AutoML preset: medium_quality
Compute budget: 300 seconds
Bagging folds: 0
Stack levels: 0
Models evaluated: WeightedEnsemble_L2, NeuralNetTorch, XGBoost, RandomForestMSE, ExtraTreesMSE, LightGBMLarge, LightGBM, LightGBMXT, NeuralNetFastAI
Best model:
WeightedEnsemble_L2
Best-model hyperparameters:
{'use_orig_features': False, 'valid_stacker': True, 'max_base_models': 0, 'max_base_models_per_type': 'auto', 'save_bag_folds': True, 'stratify': 'auto', 'bin': 'auto', 'n_bins': None, 'vary_seed_across_folds': False, 'custom_splits': None, 'model_random_seed': 0}
The best model was selected using validation RMSE. The test set was used only after model selection.
The bootstrap uncertainty calculation used random seed 24679 for reproducibility.
Because the test split contains only 6 samples, these results have substantial uncertainty.
Training was performed in Google Colab.
The AutoGluon training run used a CPU runtime with no CUDA GPU available.
Compute budget for the AutoML search: 300 seconds.
The number of independently collected coffee bags is small, especially the validation and test sets. Performance on these samples may not generalize to coffee products from other stores, geographic regions, brands, or time periods.
The training set also contains augmented versions of original samples. These increase the amount of training data but do not represent new independently collected coffee products.
Coffee prices can change over time, so a model trained on this dataset should not be interpreted as a general or permanent coffee-pricing model.
The dataset describes retail coffee products rather than people and does not contain sensitive personal information.
Predictions should not be treated as authoritative estimates of fair market price because the dataset is small and geographically and temporally limited.
MIT, following the source dataset license.
ChatGPT was used as a coding copilot to assist with syntax, library APIs, and adapting the course-provided AutoML lecture code to this regression task. I used it to help identify the changes needed for the selected dataset and workflow. ChatGPT also helped draft and polish the Model Card based on my inputs, implementation choices, and final results.