π CP#29 - Social Sphere: Student Social-Media Behavior β Week 4 Wrap-up
Today, we held our weekly meeting for the Social Sphere project, marking the conclusion of Week 4. This week's primary focus was on the regression modeling task and leveraging MLflow for experiment tracking and storytelling.
π Key highlights and discussion points:
π Regression vs. Classification: The regression task predicting the "Addicted Score" was also explored as a potential multi-class classification problem due to the discrete nature of the output.
π€ Modeling Experiments: Various regression algorithms were explored, ranging from traditional Linear Regression and its regularized variants (Lasso, Ridge) to advanced tree-based and gradient-boosting methods like XGBoost, AdaBoost, and CatBoost.
π Evaluation Metrics: Models were evaluated using practical regression metrics, including MSE, MAE, PMAE, RΒ², and Adjusted RΒ². Gradient boosting methods generally showed notably higher performance according to these metrics.
π SHAP Analysis and Feature Importance:
SHAP analyses showed a strong predictive correlation between addiction predictions and the mental health input feature. Discussions also highlighted potential biases due to the self-reported mental health feature.
Significant predictive relationships were found with daily social media usage hours, sleep hours, country of residence, and primary social media platform, particularly when mental health features were removed.
Well-performing models appeared less reliant on demographic inputs like age, gender, relationship status, and academic level.
π¬ Granular SHAP Insights: Detailed SHAP analysis on an XGBoost model demonstrated clearly that students with higher daily social media usage, fewer sleep hours, and frequent usage of TikTok tend to have higher addiction scores. This model achieved a relatively high RΒ² of 0.83 and a Mean Percentage Absolute Error (MPAE) of 0.04 on unseen data.
π CatBoost Advantages: Using CatBoost reduced the complexity associated with categorical encoding, making categorical features like "Country" and "Most Used Platform" easier to interpret in feature profiles.
π οΈ MLflow for Model Comparison: MLflow dashboards were effectively used to quickly compare model performance metrics, visually inspect metric relationships, and evaluate the impact of parameter choices.
π MLflow Hosting and Data Versioning: Both local and cloud-hosted MLflow dashboards were utilized, with DagsHub identified as a powerful platform for hosting MLflow experiments and versioning datasets via
π₯οΈ Sample MLFlow dashboards:
- from Patrick Edosoma
- from Bob Hosseini
π§ Next Weekβs Agenda:
Next week, we will transition to clustering tasks, exploring behavior-based segmentation, and using PCA and UMAP for 2D visualization of the clusters.
π Project Mentor: @Shaheer Airaj Ahmed
π¨βπ»Project Lead: @Bob Hosseini
π₯ Team Members: @Kola Taiwo, @Patrick Edosoma, @Blake Lawall, @Aditi Phadnis, @Chinmay Khandalkar, @Galyna Boiko, @Ravi kiran, @Valeria Salley-Washington, @Maryam
π Project GitHub Repo: SDS-CP029-social-sphere
ποΈ Dataset: Kaggleβs Students' Social Media Addiction Data
π’ Stay tuned for next weekβs updates!