πŸ“Š 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!