socceraction.xthreat¶
Implements the xT framework.
Model¶
An implementation of the Expected Threat (xT) model. |
Utility functions¶
Create a model from a pre-computed xT value surface. |
|
Get all ball-progressing actions. |
|
Get all successful ball-progressing actions. |
|
Compute the probability of scoring when taking a shot for each cell. |
|
Compute the probability of taking an action in each cell of the grid. |
|
Compute the move transition matrix from the given actions. |