1 of 30

Developing a Data Driven Player Ranking in Hockey Using Predictive Model Weights

(Ranking Players By Passing Ability)

RITSAC

2 of 30

University of Toronto Hockey Analytics Club

  • Student club at the University of Toronto
  • OTTHAC, Ivey Sports Management Conference
  • Developed a draft Model for the Mississauga Steelheads and a NHL Salary Cap Projection model

3 of 30

Credit to Original Study

  • Original work completed by Joel Brooks, Matthew Kerr and John Guttag at the Massachusetts Institute of Technology.
  • Developing a Data Driven Player Ranking in Soccer Using Predictive Model Weights [1]

4 of 30

Introduction

5 of 30

Current Playmaking Evaluations Are Unreliable

  • What can player tracking data tell us about player passing ability in hockey?
  • Current counting stats are flawed, not repeatable and lack context
  • “Using assists to evaluate a player’s playmaking ability is ridiculous.” [2]

Metric

Repeatability (Pearson R)

Predicting Primary Assists/60 (Pearson R)

Primary Assists/60

0.1

0.1

Danger Zone Assists/60

0.5

0.42

xPrimary Assists/60

0.64

0.36

Primary Shot Assists/60

0.78

0.26

6 of 30

Not all assists are the same

[3],[4]

7 of 30

Great passes are not always counted as assists

[5]

8 of 30

A New Method of Evaluating Passes With Player Tracking Data

  1. Model that relates pass origin and destination locations with their probability of resulting in a shot attempt
  2. Use the resultant model weights to evaluate players passing ability

9 of 30

Methodology

10 of 30

Defining a Possession and a Pass

  • Possessions are comprised of any sequence of events where a team retains the puck.
  • Successful passes included puck movements followed by a reception and back to back receptions.
  • Model was trained on possessions with a minimum of two successful passes.
  • The result of a possession is categorically binary; either a shot attempt or not

11 of 30

Discretizing the Ice Rink

  • Discretize the rink into 20 zones that we felt captured difficult and common passing origin and destination locations.

12 of 30

Feature Vectors For Origin and Destination Locations

  • A vector of length 20 is calculated for the origin and destination locations of a pass.

  • Ci = 1 if zone i is one of the two closest zones
    • 0 otherwise
  • max(d(l,zi),1) is the euclidean distance from the puck to the centroid of zone i

13 of 30

Feature Vectors For Origin-Destination Pairs

  • Calculate outer product of the origin and destination vectors
  • Flatten 20x20 matrix into vector of length 400
  • Concatenate origin, destination and origin-destination pair vectors
  • Average feature vectors of all passes in a possession

14 of 30

Example of a Feature Vector for A Single Pass

Outer Product

Concatenation

Origin:

Destination:

15 of 30

Model Building and Results

16 of 30

Training the Model and Results

  • LinearSVC kernel classifier from python Sklearn library.
  • 440 inputs, output is binary
  • 80% training and 20% testing
  • 10-fold cross validation on training data to find optimal hyperparameters

Metric

Score

Accuracy

0.7910

F1

0.6606

ROC

0.7874

17 of 30

Model Coefficients - Top 10 Origin Zones

Zone (origin)

Model Coefficient

1

0.168

4

0.1374

2

0.1370

12

0.116

7

0.113

20

0.112

18

0.108

19

0.101

5

0.097

16

0.092

18 of 30

Model Coefficients - Top 10 Destination Zones

Zone (destination)

Model Coefficient

9

0.280

6

0.279

3

0.203

8

0.177

5

0.138

7

0.121

11

0.120

12

0.115

4

0.073

13

0.059

19 of 30

Model Coefficients - Top 10 Origin Destination Pairs

Origin-Destination

Pairs

Model Coefficients

1 to 3

0.152

5 to 8

0.129

5 to 9

0.116

19 to 17

0.104

9 to 9

0.1012

1 to 6

0.1012

7 to 8

0.0982

4 to 9

0.092

9 to 8

0.084

4 to 6

0.083

20 of 30

Model Coefficients - Bottom 10 Origin Destination Pairs

Origin-Destination Pairs

Model Coefficients

16 to 8

-0.14193

14 to 8

-0.12982

19 to 8

-0.10505

10 to 9

-0.0779

2 to 7

-0.0755

15-18

-0.0610

13 to 8

-0.060

17 to 18

-0.0592

4 to 5

-0.0581

12 to 9

-0.0581

21 of 30

Pass Shot Value (PSV)

&

Average Pass Shot Value (APSV)

22 of 30

Pass Shot Value (PSV)

  • Using model coefficients to evaluate a players passing ability
  • Passes are assigned a PSV (pass shot value) by summing the model coefficients from the origin and destination locations along with the origin-destination pair

Where i represents the nearest zone to the pass origin

j represents the nearest zone of the destination of the pass.

23 of 30

PSV Example 1

[6]

24 of 30

PSV Example 2

25 of 30

Evaluating Players From the Dataset

  • Top 80 players by event involvement; 52 Forwards and 28 Defensemen
  • APSV calculated by averaging the PSV of all the passes completed throughout the season.

26 of 30

APSV Versus Traditional Assists

27 of 30

Utility of Model with Player Tracking Data in the NHL

  • Identify playmakers that are underrated by current assist-driven evaluations.
  • Finding players that fit a system or a specific passing role.
  • Could be used as a proxy metric to evaluate vision and/or player IQ.

28 of 30

Improving the Model

  • More data to train and test
  • APSV repeatability, APSV usage in different game states
  • Optimal zone discretion
  • Include speed of a pass, time between passes, distance between players in the passing sequences as inputs into the model

29 of 30

Thank you!

  • RIT for hosting
  • ICEBERG for providing data
  • Ryan and Matt for organizing

Yousuf LaHaye

University of Toronto,

Toronto, ON

yousuf.lahaye@mail.utoronto.ca

Alexander Profiti

University of Toronto

Toronto, ON

alexander.profiti@mail.utoronto.ca

30 of 30

References

[1] J. Brooks, M. Kerr, and J. Guttag, “Developing a Data-Driven Player Ranking in Soccer Using Predictive Model Weights,” Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining - KDD 16, 2016.

[2] R. Stimson, “Expected Primary Points are a better predictor of future scoring than Shots, Points,” Hockey Graphs, 19-Jan-2017. [Online]. Available: https://hockey-graphs.com/2017/01/19/expected-primary-points-are-a-better-predictor-of-future-scoring-than-shots-points/. [Accessed: 07-Sep-2019].

[3] N. H. L. Highlights, “Dallas Stars vs Minnesota Wild - Full Game Highlights | April 18, 2016 | NHL 2015-16 Playoffs,” YouTube, 19-Apr-2016. [Online]. Available: https://www.youtube.com/watch?v=NiC4iMx9skY. [Accessed: 07-Sep-2019].

[4] D. Highlights, “NHL Best Passes Of All Time,” YouTube, 03-Jul-2017. [Online]. Available: https://www.youtube.com/watch?v=elqcgbbxQJk. [Accessed: 07-Sep-2019].

[5] Jens95, “NHL: Open Net Fails,” YouTube, 18-Jan-2019. [Online]. Available: https://www.youtube.com/watch?v=fmGCi7Pl2iw&t=113s. [Accessed: 07-Sep-2019].

[6] N. H. L. Finland, “Auston Matthews spins, sets up Komarov for PPG,” YouTube, 04-Jan-2017. [Online]. Available: https://www.youtube.com/watch?v=oPoNw4bn6ho. [Accessed: 07-Sep-2019].