Downloads · 30 days
0
keerthikoganti/sleep-hours-predictor-automl-ag
sleep-hours-predictor-automl-ag is a machine learning model from keerthikoganti. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This dataset contains self-reported technology-use patterns and routines.
Downloads · 30 days
0
Access
Public
Updated Sep 24, 2025
Repo size
4.2 MB
Likes
1
Public
Click a slice to open those files.
.zip4.2 MB · 100%
From the Hugging Face model README
This dataset contains self-reported technology-use patterns and routines.
This dataset contains self-reported technology-use patterns and routines, plus sleep timing/quality attributes. It was created as a class exercise for supervised learning on tabular data. The primary task is regression — predicting nightly sleep_hours. The same features can also support simple classification tasks if desired.
Classroom demos of AutoML on tabular regression tasks
Baseline experiments for feature engineering and evaluation
Comparing different AutoML presets and model search spaces
Production deployment or any sleep/health recommendation system
Generalization beyond course context and small cohort data
Clinical or safety-critical applications
Small sample size and potential sampling bias.
Self-report bias in device use and sleep estimates.
Domain shift likely for other age groups, locations, or lifestyles.
Use primarily for teaching and demonstration of tabular ML workflows. If you publish results, disclose the split strategy, preprocessing, and any imputations/encodings performed by AutoGluon.
Use the code below to get started with the model.
import pathlib, shutil, zipfile import huggingface_hub as hf from autogluon.tabular import TabularPredictor
REPO = "keerthikoganti/sleep-hours-predictor-automl-ag" ZIPNAME = "autogluon_sleep_model.zip"
dest = pathlib.Path("hf_download") dest.mkdir(exist_ok=True)
zip_path = hf.hf_hub_download( repo_id=REPO, filename=ZIPNAME, repo_type="model", local_dir=str(dest), local_dir_use_symlinks=False, )
extract_dir = dest / "predictor_dir" if extract_dir.exists(): shutil.rmtree(extract_dir) extract_dir.mkdir(parents=True, exist_ok=True)
with zipfile.ZipFile(zip_path, "r") as zf: zf.extractall(str(extract_dir))
predictor = TabularPredictor.load(str(extract_dir))
preds = predictor.predict(X)
Dataset: Iris314/Students_sleep_tabular
Splits: 80/20 random split (random_state=42) on the augmented data (≈300 rows)
Target column: sleep_hours
Library: AutoGluon Tabular
Presets: "best_quality" (ensembles across boosted trees, RF, kNN, neural nets, etc.)
Training time limit: 300 seconds
Evaluation metric (internal): AutoGluon default for regression (root_mean_squared_error)
presets: "best_quality"
random_state: 42
problem_type: inferred automatically by AutoGluon
eval_metric: AutoGluon default for regression
Testing Data
Held-out 20% of the augmented split (≈60 rows)
Metrics (replace with actuals from metrics.json)
R² = 0.78
MAE = 0.62 hours
RMSE = 0.95 hours
Training was lightweight and classroom-focused:
Hardware: CPU runtime in Google Colab (no GPU)
Training wall-time: ≤ 5 minutes
Estimated emissions: negligible
Cloud provider: Colab (Google)
Keerthi Koganti — [email protected]