socceraction.xthreat.ExpectedThreat.fit¶
- ExpectedThreat.fit(actions)¶
Fits the xT model with the given actions.
- Parameters:
actions (pd.DataFrame) – Actions, in SPADL format.
- Returns:
Fitted xT model.
- Return type:
self
Fits the xT model with the given actions.
actions (pd.DataFrame) – Actions, in SPADL format.
Fitted xT model.
self