For a full breakdown of this story, follow: https://chipdelmal.github.io/blog/posts/mk8dsoulmates
main.sh
script runs the whole pipeline, which consists of the following steps:
constant.py
: Runs the constants for color, votes, tracks names, and related snips necessary for all the plots.preProcess.py
: Parses the votes and converts them to a dataframe with some summary statistics.similarity.py
: Generates the distance matrix between the participant's vectors.matrix.py
: Plots the distance and relative-rank matrices.dendrogram.py
: Generates and plots the dendrogram of the participants.chord.py
: Plots the chord diagram for the participants.waffle.py
: Plots the votes results for all the tracks and players.
The scripts can be run independently provided that the dataframe has already been exported (and the distance matrix for the matrix plots).
Required dependencies can be installed into an environment with the ./conda/REQUIREMENTS.txt
, ./conda/REQUIREMENTS.yml
or by running:
pip install numpy
pip install pandas
pip install matplotlib
pip install scipy
pip install pywaffle
pip install mpl-chord-diagram