Generate predicted bracket from a kaggle march madness machine learning competition submission. https://www.kaggle.com/c/march-machine-learning-mania-2017
from bracket_builder import make_bracket
make_bracket(DATAPATH, submissionPath, emptyBracketPath, outputFilePath)
- matplotlib
- numpy
- pandas
- PIL
Additional input data/files not provided on kaggle:
- matchups.csv - matchup and bracket slot mapping for each seed in 2016
- empty_bracket.jpg - empty ncaa bracket
- matchup_locs.py - mapping dictionary from slots to image coordinates on empty_bracket.jpg
Output is a bracket filled in with team seeds, names, and winning likelihood for each game.
The empty bracket is shown below.
The predicted bracket (this program's output) is shown below: