As a newly hired data scientist at Spotify, I developed a machine learning pipeline to assist the marketing department in predicting whether users will switch to paid premium subscriptions. This binary classification task involved analyzing user data such as age, gender, and usage habits to identify patterns in user behavior.
The project involved the following steps:
- Data preprocessing: Handling missing values and balancing class distribution.
- Feature engineering: Creating new features to improve model accuracy.
- Model training: Evaluating several models, including Random Forest, Logistic Regression, and XGBoost.
- Evaluation: The Random Forest model performed best with a test accuracy of 74%.
- Python: Pandas, Scikit-learn, XGBoost
- Machine Learning Models: Random Forest, Logistic Regression, XGBoost
- Evaluation Metrics: Accuracy, Confusion Matrix
View the full pipeline here: Spotify Subscription Prediction Pipeline