Spaces:
Sleeping
Sleeping
| title: Sleep Habits → Phone-Before-Bed Predictor | |
| emoji: 😴 | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: "4.44.0" | |
| app_file: app.py | |
| pinned: false | |
| # Sleep Habits → Phone-Before-Bed (Tabular) — Gradio GUI | |
| Usage: This interactive Gradio app demonstrates a classmate’s AutoGluon Tabular model trained on the Students Sleep Habits dataset. The model predicts whether a student is likely to use their phone before bed, based on features such as daily phone/computer usage, number of devices owned, sleep quality, typical bedtime, and sleep duration. | |
| Users can adjust sliders and dropdowns to enter a single student’s record, then view model predictions as ranked probabilities (“Yes” vs. “No”). Example inputs are provided to quickly test the model. This Space is intended as an educational demo for deploying tabular ML models on Hugging Face. | |
| A minimal GUI that drives a classmate’s AutoGluon Tabular model to predict whether a student uses their phone before bed (binary classification). | |
| - **Model (classmate’s):** https://huggingface.co/jennifee/classical_automl_model | |
| - **Dataset (original docs):** https://huggingface.co/datasets/Iris314/Students_sleep_tabular | |
| --- | |
| ## Example Inputs | |
| Here are 3 sample records from the dataset (you can try these directly in the app): | |
| - **Example 1:** phone_hours=3, computer_hours=5, device_count=3, sleep_quality="good", sleep_time=23, sleep_hours=7 | |
| - **Example 2:** phone_hours=4, computer_hours=6, device_count=3, sleep_quality="medium", sleep_time=0, sleep_hours=6 | |
| - **Example 3:** phone_hours=6, computer_hours=5, device_count=4, sleep_quality="bad", sleep_time=1, sleep_hours=6 | |
| --- | |
| ## Notes | |
| Predictions are probabilistic and for educational use only. Interface was created with the assistance of GenAI | |