D2DraftNet is a deep-learning-based Dota 2 draft prediction tool. It analyzes hero selections and predicts the win probability for each team based on historical match data.
- Hero Draft Selection: Interactive UI for selecting Radiant and Dire drafts.
- Win Probability Prediction: Uses a trained deep learning model to predict the outcome.
- User-Friendly Web Interface: Built with Flask for easy accessibility.
D2DraftNet is a deep learning model for predicting Dota 2 draft outcomes which is used in the web app. The package can be found at PyPI. If there is a newer version available on PyPI, add it to the D2DraftNet App by running the following commands:
Remove the old version
poetry remove d2draftnetClear the cache.
poetry cache clearInstall the new version.
poetry add d2draftnet@latestVerify the version matches the latest release on PyPI.
poetry show d2draftnetD2DraftNet requires the following dependencies, which are managed using Poetry:
- Python
>=3.10 - Flask
>=3.1.0 - Torch
>=2.6.0 - Pandas
>=2.2.3 - Requests
>=2.32.3 - BeautifulSoup4
>=4.13.3
Install all dependencies using:
poetry installgit clone https://github.com/gkerr708/D2DraftNet-App.git
cd D2DraftNet-AppMake sure you have Poetry installed:
curl -sSL https://install.python-poetry.org | python3 -Then install dependencies:
poetry installpoetry run python app.pyThen open http://127.0.0.1:5000 in your browser.
Pull requests are welcome! Please make sure your contributions follow best practices and are properly tested.