~/talk

Predicting sports winners using data analytics with pandas and scikit-learn

links:none on file
slides:none on file

Uses pandas to pull box scores from basketball-reference and scikit-learn to build models; creates features like last-game result, win streak, head-to-head, previous-season ranking and one‑hot team encodings; baseline (always predict home) is ~58% home wins and F1 ≈ 0.43; a tuned random forest with label + one‑hot encoding and cross‑validation reaches F1 ≈ 0.64 on training season and then predicts the next season at ~76% accuracy. pandas scikit-learn

AI-written summary · about

  1. 0:00Introduction
  2. 0:46Overview
  3. 4:21Python
  4. 6:21Data
  5. 8:07Home Win
  6. 12:49Winning Streak
  7. 15:15Standings
  8. 16:57Apply
  9. 21:21Home team win
  10. 22:59Encoding
  11. 24:32Label Encoder
  12. 26:39Random Forest
  13. 28:52Results
  14. 32:37F1 Score
  15. 33:40Next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.