Solutions to “Just KNIME It!” Challenge 07 - Season 2

:boom: New Wednesday, new Just KNIME It! challenge! :boom:

This week we come back with a problem involving visualizations. It is on the topic of football :soccer: analytics, and the tricky part is to properly choose the visualization technique for the problem. :thought_balloon: Give it some thought! :nerd_face:

Here is the challenge. Let’s use this thread to post our solutions to it, which should be uploaded to your public KNIME Hub spaces with tag JKISeason2-7 .

:sos: Need help with tags? To add tag JKISeason2-7 to your workflow, go to the description panel on the right in KNIME Analytics Platform, click the pencil to edit it, and you will see the option for adding tags right there. :slight_smile: Let us know if you have any problems!

2 Likes

Hello KNIMErs, Here is my Solutions for “Just KNIME It!” Challenge 07 – Season 2


2 Likes

Hi all,

here my solution for this week:

An interactive filter allows you to select the team and the dashboard will show the successful/unsuccessful passes. Moreover it can be possible to select a subset of passes in the graphs to make them selected on the table and viceversa.

Have a nice day!
Giuseppe

15 Likes

Hi all, here is my solution.

1 Like

Great visualization!

3 Likes

Hi Everyone :slight_smile:

This challenge was pretty fun and I found a great resource from FCPython explaining how to create a pass map!

After separating the Manchester City successful pass data from the file, I then used the -Python View- node to generate a Pass Map, where the dot is the starting point of the pass:

I then decided to take this further and create a moving video of each pass over time by using a -Chunk Loop- to create an image for each row of the table. After converting the image with the -PNG Image to ImgPlus- node and transposing the data, I was then able to use the -Merger- node to create one image object from all the images. Finally, I used the -Image Writer- node to generate a video in AVI format. You can find the video in the data folder of the workflow as a zip because it was too large to upload here.

My workflow can be found on the hub here:

Thanks
Heather

10 Likes

Hello KNIMErs, Here is my Solutions.

1 Like

Como me gustan los retos de KNIME! :star_struck:

Esta semana ha tocado jugar un poco con Python.


Esta semana ya hemos hecho las tareas, la semana que viene, más y mejor! :mechanical_arm:

8 Likes

Sharing my take on sports analytics visualization challenge.
flow


10 Likes

Here’s my solution - various scatter plots for entire game and each half. Also tables and bar charts for passes per minute for each half.

2 Likes

Nice use of density plots! Good idea.

2 Likes

Here is my solution: JKISeason2-7 – KNIME Community Hub
Thank you @HeatherPikairos for this idea of visualizing the football pitch, it was very helpful.
I decided to add overall visualization for each team, their actions and the output and make it possible to select which action to visualize on the pitch^W scatter plot.


11 Likes

Hi @Artem , no problem :slight_smile: I like your use of the sunburst chart and interactivity!

3 Likes

Hi all,
Here is my solution.

Line plot was used for visualization.
In order to draw the end points of Pass, data was added with coordinates slightly shifted from endY.
This process was also necessary to prevent Pass from being connected to each other.
I think there are better ways.


5 Likes

Hi all,
Here is my solution.

I have created my workflow for analysis at the following points.
・Back pass or forward pass?
・Time Zone
・Pass distance (plot size is the pass distance)

Back passes have a higher success rate.
ManchesterCity has a higher percentage of back passes than ManchesterUnited.

3 Likes

Interesting! I had never heard of a pass map!

2 Likes

Hi All- here is my solution for this week. Overall, i see some people had similar idea in mind as what i had. I built in a Filter-by-Team functionality and then added time intervals in order to add a bit of granularity… all of the data at once was not really informative. I did use a refresh button (instead of using the re-execution setting of the multiple selection widgets) to allow for changing multiple filter settings at once before the refresh occured… much smoother this way. When both teams are added to the visualization, i colored the markers by home jersey color. The markers are placed at the starting point of the pass attempt. The color indicates successful (green) or failed (red) passing attempt.

That one was fun! Thanks for this challenge.

6 Likes

Hello KNIMErs
This is my take on S2 Challenge 07. I thought at the beginning as a good idea to try it with Py, but it took me more time than expected. Besides I have the feeling that R allows more creativity and more flexible too in combining charts :thinking: Good lessons learnt and fun anyhow.

PS.- @l6fader I like the way that you use the Multiple Selection Widget. I’m sure that I will implemented it this way quite often from now on.

BR

6 Likes

@HeatherPikairos this is really a cool solution. I learned a few tricks and so I am really grateful for this contribution. Very nice job!

4 Likes

Hello JKIers,
Just for the records. I’m still working in the workflow with some upgrades. Pass arrows layer has been added to the dashboard. As an example, here in the picture there’s a sample plot of Manchester City’s long distance passes [>40 pitch-units ] (be aware that units are provided in X and Y percentage, so units need to be transformed over pitch shape).

I’ve just realised fron @HeatherPikairos’ post, that I was using the same FCPython resource for the contour maps. So I could add easily the pass arrows’ map on top.

Enjoy coding. BR

5 Likes