Skip to content

v1.1.0

Latest

Choose a tag to compare

@UnravelSports UnravelSports released this 04 Jul 12:28
· 23 commits to main since this release
020a2e8

What's Changed

Basic Functionality:

from unravel.soccer import EFPI

model = EFPI(dataset=kloppy_polars_dataset)
model.fit(
    # Default 65 formations , or specify a subset (e.g. ["442" , "433"])
    formations=None,
    # specific time intervals (e.g. 1m, 1m14s, 2m30s etc.), or specify "possession", "period" or "frame".
    every="5m",
    substitutions="drop",
    change_threshold=0.1,
    change_after_possession=True,
)