Predict game winner using a Naive Bayes classifier.
With a corpus size of 3963 matches it achieves a performance of:
Individual accuracy: 64.13%
Match accuracy: 74.52%
The match data used is provided by opendota.com.
-s N
,--scrape N
Extend corpus with N new matches-t
,--train
Train the classifier using the updated corpus-c CORPUS
,--corpus CORPUS
Path to pickle file of corpus. Deafult: corpus.p-l CLASSIFIER
,--classifier CLASSIFIER
Path to pickle file of classifier. Deafult: classifier.p
--unigram
--bigram
--trigram
--wp30
Words per 30 minutes--sdi
Shannon Diversity Index
--fourgram
--fivegram
python3 dotaminer.py --train --unigram
python3 dotaminer.py --train --unigram --bigram --trigram --wp30 --sdi