Machine Learning
Spotify Decision Tree Modeling
A compact decision-tree classification exercise focused on model training, cross-validation, and readable tree visualization.
Period
May 2026
Tools / Tech
PythonScikit-learnDecisionTreeClassifierCross-validationModel Visualization
Why I built it
I used this as a focused practice case for understanding decision-tree splits and overfitting behavior.
Links
What it includes
- Trains a DecisionTreeClassifier on structured song attributes.
- Uses cross-validation to compare settings.
- Visualizes the model to inspect split logic.
What I worked on
- Prepared model inputs and trained decision-tree classifiers.
- Compared validation behavior under different tree settings.
- Completed the decision-tree notebook myself and interpreted the tree structure as part of the modeling result.
What I Learned
- Learned how tree depth affects interpretability and overfitting.
- Practiced using visualization as a model-debugging tool.
- Built intuition for simple classifier baselines.