This project predicts phone addiction levels using Machine Learning.
- Random Forest Model
- Feature Importance Analysis
- Streamlit Web Application
- Real-time Prediction
- Python
- Scikit-learn
- Pandas
- Streamlit
-
Train model:
python data_train.py -
Run app:
streamlit run app.py
https://phone-addiction-predictor-5xen22bxerb2wwubewgeqb.streamlit.app/
- R² Score: 0.763 | (out of 0-1) Higher is better
- MAE: 0.516 | (out of 0-10) Lower is better
- Addiction Score (0–10)
- Addiction Level (Low/Medium/High)
- Visual Insights
The dataset used in this project is simulated and defines the relationship between features and addiction levels. Therefore, the model predictions are directly influenced by the dataset's assumptions.
For example, lower screen time values (e.g., 4 hours/day) may be classified as risky in the dataset, even though such usage might be considered normal in real-world scenarios today.
This highlights that the model reflects the dataset patterns rather than absolute real-world truth.
URL for the kaggle (teen_phone_addiction_dataset.csv) : https://www.kaggle.com/code/sumedh1507/predicting-phone-addiction-level/input
2026 - Siddhartha Gupta


