[PYTHON] Use a cool graph to analyze PES data!

We will automate the data analysis of PES! Part2

Hi, this is YajunClick here for self-introduction

In this article, I tried to automate the data aggregation of PES! is continued. Now that I can collect data from images, I immediately tried "analysis"-"discussion". Here are some of the implemented functions.


■ Analysis goal


■ Flow

  1. Create a graph from each parameter
  2. Gap analysis at the time of victory or defeat
  3. Visualize issues for players
  4. Selection of the next analysis method

■ Histogram & scatter plot

[Graph]

Possession Ratio in the center of the attack area Number of passes Number of balls captured

![](https://i.imgur.com/VAweSJ6.png)

コメント 2020-02-18 210142.png

(Example) The scatter plot of the second square from the top and the first square from the left is a scatter plot of the vertical axis "ratio in the center of the attack area" and the horizontal axis "possession".

* Supplement

[Discussion]

You can see the tendency in other graphs, but it seems impossible to "clarify the difference between winning and losing draws". In many cases, the expected results cannot be obtained with just two pieces of information.

Next!


■ Heat map analysis

[Graph]

[Discussion]

Is it a combination of formations? Are you being turned behind because you have a counter target? Is the player who is pointing the cursor at the time of defense different from usual?

Next, let's take a look at "Ball Lost" in the figure below! Unlike "ball capture", there are some good results in "losing draw" games in some areas. What I was interested in was that the number of ball lost in the front half space (second row from the left) was increasing.

In Half Space, it is an important area where you can use both sides and the center, and you can also shoot by yourself. There are many possible reasons why the ball is lost despite the chance.

Build up with a through pass even though the enemy is close Press the dash button The choice of side or center is biased and read by the other party

We will make a hypothesis, interview the tester, get additional data such as videos, and verify it. It will lead to the next analysis.

Then next!


■ Multiple parameter analysis

[Graph]

[Discussion]

For this tester, the result was that the pass success rate affects the attack power, but it does not seem to be related to the goal. The next analysis looks good to take:

How can I increase the pass success rate? What are the other parameters that affect the number of runs?


■ Tips for data analysis!

コメント 2020-02-18 203939.png


■ Summary


■ Future plans

** As an extra edition ** ・ Automatic retweet of counter recruitment BOT

** Stay tuned for part3! !! ** **


■ To everyone who read


■ Reference URL

Recommended Posts

Use a cool graph to analyze PES data!
How to draw a graph using Matplotlib
Analyze stocks to understand a company's performance
Let's use Python to represent the frequency of binary data contained in a data frame in a single bar graph.
I made a tool to easily display data as a graph by GUI operation.
Paste a link to the data point of the graph created by jupyterlab & matplotlib
A simple example of how to use ArgumentParser
How to draw a 2-axis graph with pyplot
How to draw a 3D graph before optimization
Randomly sample MNIST data to create a dataset
Use decorators to prevent re-execution of data processing
How to use the graph drawing library Bokeh
How to use data analysis tools for beginners
I'm addicted to Kintone as a data store
Use click to create a sub-sub command --netsted sub-sub command -
I want to use a python data source in Re: Dash to get query results
How to use fixture in Django to populate sample data associated with a user model
Create a dataset of images to use for learning
How to use xgboost: Multi-class classification with iris data
Summary of tools needed to analyze data in Python
A memo of how to use AIST supercomputer ABCI
I want to give a group_id to a pandas data frame
[Python] How to draw a line graph with Matplotlib
Kaggler, a student who cannot analyze data, analyzes himself
Visualize railway line data as a graph with Cytoscape 2
A memorandum on how to use keras.preprocessing.image in Keras
[Python] How to use the graph creation library Altair
A story about struggling to loop 3 million ID data
Convenient to use matplotlib subplots in a for statement
I tried to analyze J League data with Python
Data visualization with Python-It's too convenient to draw a graph by attribute with "Facet" at once