9
PLAYER CLASSIFIER + RECOMMENDATION SYSTEM Brianna Lytle | DSI-CC9-LA

RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

PLAYER CLASSIFIER + RECOMMENDATION SYSTEM

Brianna Lytle | DSI-CC9-LA

Page 2: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

PROBLEM STATEMENT

Problem: 5 Positions

Inconsistent Stats for each position - What makes a strong player?

Goal 1:Attempt to classify NBA players based on their playing style - not by their labeled

position role

Goal 2:Create a Player Recommendation system

based on playing style

Page 3: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

DATA COLLECTION

Basketball-reference.comScraped using: Beautiful SoupSalaries | Seasonal Player Stats

stats.nba.comScraped using: Selenium

2019-2020 Player Statistics | Traditional | Usage | Defense | Scoring | Misc.

fivethrityeight.comScraped using: Beautiful Soup

538 RAPTOR Ratings

Page 4: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

DATA CLEANING PROCESS

Merge Data by Player Name

Over Account of players (salaries)

Missing Player Stats (injured +

rookies)

Multiple Name Spelling

Final Data Set: Salaries + RAPTOR ratings + 2019-2020 Stats

416 PlayersMore than 9 min. played per game

85 Features

SCRAPED DATA

STA

RT

OV

ER

Page 5: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

CLUSTERING: KMEANS + PCA

DEFENSE OFFENSE OVERALLSHOOTING

3 Clusters5 Principal

Components

CEV: .8333Silhouette Score:

.18024

15 features

3 Clusters6 Principal

Components

CEV: .8054Silhouette Score:

.2405

22 features

3 Clusters5 Principal

Components

CEV: .894Silhouette Score:

.25891

14 features

3 Clusters6 Principal

Components

CEV: .77Silhouette Score:

.24371

22 features

Page 6: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

PLAYER CLASSIFICATIONS

DEFENSE OFFENSE OVERALLSHOOTING

THE ADAPTER RISING STAR THE DEPENDENT HERE TO BE HELPED

DOES NOT DEFEND AGGRESSOR THE BRAVE KNIGHT CARETAKER

THE PROTECTOR RISKER OL’ RELIABLE IRON MAN

Page 7: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

SHOOTING

THE DEPENDENT

THE BRAVE KNIGHT

OL’ RELIABLE

Page 9: RECOMMENDATION SYSTEM PLAYER CLASSIFIERres.cloudinary.com/general-assembly-profiles/image/... · of players (salaries) Missing Player Stats (injured + rookies) Multiple Name Spelling

NEXT STEPS

GOAL 3: LONG TERM PROJECT/EASY TO SHARE

- Proper Data Cleaning Plan- More Data + More Classifications

- Social Media + Google Search Trends

Problem: 5 Positions

Inconsistent Stats for each position - What makes a strong player?

Goal 1:Reclassify players

Goal 2:Recommendation System