Giter Club home page Giter Club logo

passing-networks-in-python's People

Contributors

javiondata avatar sergiollana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

passing-networks-in-python's Issues

ValueError: Image size of 808718x276116 pixels is too large. It must be less than 2^16 in each direction. <matplotlib.figure.Figure at 0x7f7c7ba28668>

Hello, thanks for this wonderful example!

I stumbled up on this error from matplotlib:

ValueError: Image size of 808718x276116 pixels is too large. It must be less than 2^16 in each direction.
<matplotlib.figure.Figure at 0x7f7c7ba28668>

I tried to reduce number of players displayed on a map to see if that would work but unfortunately nothing changed.

Anyone have an idea of what could go wrong?

Thanks!

2 potential bug fixing or improvements

Hey guys, thanks a lot for this great repo.

Last days I was working in a new github repo about passing networks in R, for my project Dato
Futbol
. So, I adapted/translated a lot of your ideas from Python to R. Along the process i found 2 problems, related to Metrica Sport's tracking data, which you could consider as bug fixing or improvements.

1.- Due the data codification and/or its accuracy, I think it is necessary to consider some categories from the Subtype features as additional possesion changers, besides "BALL LOST" & "BALL OUT", in order to get correctly the on ball and off ball frames.

I'm using "HEAD-ON TARGET-GOAL", "ON TARGET-GOAL", "WOODWORK-GOAL", "OFF TARGET-OUT", "HEAD-OFF TARGET-OUT", "ON TARGET-SAVED" as well.

2.- Even though you define a function to inverse the Y axis named "to_metric_coordinates", I'm afraid you are not calling it along the code running.

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.