Comments (2)
A pass is successful if it reaches a teammate. This is of course a nebulous concept. There is a thin line between intercepting the ball and recovering the ball immediately after it was received. However, I think the data annotator is best placed to judge that and I would not override it on our side.
On the other hand, I think it would make sense to add duels to SPADL as they are meaningful defensive actions. We already do so for ground duels (which should be converted to tackles if the implementation of the Wyscout converter is correct). Therefore, I assume you are referring to aerial duels for which SPADL does not have a corresponding action. It's not an interception (preventing an opponent's pass from reaching their teammates).
I don't know what the motivation was to ignore these aerial duels. Do you remember @TomDecroos?
from socceraction.
Ok, it seems like I didn't understand the code correctly. A pass is marked with success
if the corresponding Wyscout event is tagged as accurate
. The reason I opened this issue is because there a discrepancy between successful passes in the default SPADL versus 'successful' passes in atomic SPADL. I defined a successful pass in atomic SPADL as a pass which is followed by a receival by a teammate. When converting to atomic, after every pass a new action is added which is either receival
, interception
, out
and offside
:
Determining the type of the next action is done as follows:
socceraction/socceraction/atomic/spadl/base.py
Lines 98 to 102 in 4c63e7a
This means that successful actions as determined by Wyscout annotators will become 'unsuccessful' when converting to atomic if the consecutive action is executed by someone of the opposing team, but I don't know if there is anything to be done about this.
from socceraction.
Related Issues (20)
- Unable to download socceraction.vaep HOT 1
- AttributeError: module 'socceraction.spadl' has no attribute 'add_names' HOT 5
- Unable to load Serie A game via PublicWyscoutLoader HOT 2
- Meaning of nb_prev_actions=0? HOT 2
- PerformanceWarning when using socceraction.vaep.features HOT 1
- Opta parser fails to recognize headed passes HOT 2
- Add pass height information to SPADL HOT 3
- Python 3.11 support HOT 4
- Path issue on Windows HOT 1
- Missing events whith OptaLoader HOT 1
- Add a SPADL action type for aerial duels
- WhoScored Parser Not Working DateTime Error HOT 3
- Handle games without actions
- Error with dribble after ball touch (Opta) HOT 5
- Problem xT Value HOT 1
- AttributeError: module 'numpy' has no attribute 'float'. HOT 3
- Pandas 2.0 Support HOT 1
- Support StatsBomb high fidelity x,y coordinates
- Support Opta -> kloppy -> SPADL
- Support Wyscout v2 -> kloppy -> SPADL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socceraction.