Skip to content

Pattern matching

TODO

This section will explain how to use the kloppy.event_pattern_matching module for finding patterns in event stream data.

Topics to cover:

  • What pattern matching is and why it matters in soccer analytics.
  • How to define and search for patterns using the API.
  • Linking patterns to outcomes (goals, xG, turnovers)
  • Provide a concreate example.
  • Visualizing matched patterns on the pitch.