← All work

06 / 08 · Machine learning · 2025

NBA Next Pick

A model that predicts which college players will be drafted into the NBA.

At a glance
0.98+
ROC-AUC score (1.0 is perfect)
0.94+
recall on drafted players
4
structured experiments

Built with

Python · Scikit-Learn · XGBoost · LDA · Poetry

Test AUROC per experiment · axis starts at 0.94

  • Exp 1 Logistic Regression 0.9769
  • Exp 2 LDA features 0.9766
  • Exp 3 Tuned XGBoost 0.9512 · recall 0.84
  • Exp 4 Soft-voting ensemble 0.9825 · recall 0.95

Ensemble reduced overfitting: best test AUROC and recall

Case study

Predicting which college basketball players get drafted into the NBA, with a soft-voting ensemble scoring 0.98+ ROC-AUC.

The problem

Scouts can’t watch every college player. Could a model give each player a probability of being drafted, so scouts know where to look first?

The data

Historical college player statistics, demographics and draft outcomes from a UTS Kaggle competition.

The approach

I ran four experiments, each one testing a hypothesis:

  1. Baseline: cleaning, feature engineering and logistic regression.
  2. Feature selection with LDA to reduce dimensions and overfitting.
  3. Tuning: grid search on XGBoost.
  4. Ensemble: soft voting across logistic regression, LDA and XGBoost.

The result

The ensemble reached ROC-AUC above 0.98 and recall above 0.94, confirming the hypothesis that ensembling reduces overfitting. Recall mattered most: missing a future star is the expensive mistake.

What I’d do next

Explain the predictions per player with SHAP so scouts can see why the model flagged someone.