Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/virrages/dota-game-prediction
Script which predict result of Dota's game
https://github.com/virrages/dota-game-prediction
Last synced: 23 days ago
JSON representation
Script which predict result of Dota's game
- Host: GitHub
- URL: https://github.com/virrages/dota-game-prediction
- Owner: VirrageS
- Created: 2015-11-13T21:26:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-22T20:29:54.000Z (almost 9 years ago)
- Last Synced: 2024-03-30T19:46:27.624Z (7 months ago)
- Language: Python
- Size: 352 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dota Game Prediction
It is Python script which predicts Dota's game result. Written for [Dota Prediction Challenge](https://www.hackerrank.com/challenges/dota2prediction/).
Score: **23.20** points (about **61.6%** correct predictions).
## About model
Script is using **Logistic Regression** from `sklearn.linear_model`.
It predicts binary output using a weighted sum of predictor variables.
It is quite simple model and that is why it fails to capture any synergy or correlation between heroes.
This is probably the reason why global correct is only around 60%.You can also choose **SGDClassifier** (also from `sklearn.linear_model`) as model for this task.
Unfortunately this doesn't give you much more points - the scores are roughly the same as in **Logistic Regression**.## Usage
python3 dota.py < input_3000.in > tmp.out; diff -b tmp.out output_3000.out | wc -l;
This will tell you how different is your output `tmp.out` from `output_3000.out`.
The less, the better.