You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the default fill is 0. Given that 0 is a valid type_id (at least for Statsbomb where it is a pass), is this (ever so slightly) affecting results by saying that (e.g.) when a team kick off, the last 3 actions have been passes.
I imagine this is of little to no consequence in reality as so few actions happen from kick off but might be worth assigning either a 999 or NA (etc.) to lagged actions which do not have a preceeding action?
The text was updated successfully, but these errors were encountered:
I wonder whether XGBoost is able to learn automatically that the preceding actions are irrelevant for a pass when the previous action was a goal or when the period changed since the previous action. Similarly, can XGBoost learn that the two preceding actions are irrelevant on free kicks, corners, and goal kicks? That would be an interesting experiment.
If XGBoost is not able to learn that, I think it would be best to include a separate action type for restarts (kick-offs and drop-balls). If you assign a missing value, XGBoost will impute them and that might lead to strange values as well.
yeah, I'd be interested to read if anyone wanted to look into it. I think on the whole it doesn't really matter because actually those make up such a small percentage (let's say 50 free kick + corners + kick offs is still ~2.5% of all actions captured by SPADL) so don't mind if you want to close the issue
probberechts
changed the title
lagging spadl features for first actions in games/periods
Handle lagging SPADL features for first actions in games/periods
Feb 18, 2023
a question not an issue per se
When lagging gamestates to compute features on spadl
socceraction/socceraction/vaep/features.py
Line 36 in 772fa76
I imagine this is of little to no consequence in reality as so few actions happen from kick off but might be worth assigning either a 999 or NA (etc.) to lagged actions which do not have a preceeding action?
The text was updated successfully, but these errors were encountered: