Skip to content

Attempt to predict winner of e-sport games listed at few CZ bookies

License

Notifications You must be signed in to change notification settings

LavinaVRovine/hazard

Repository files navigation

Esport winner predictor

Still Work in progress!

Practice project made for learning purposes

Project is made of three part.
First part scrapes past statistic for LoL, Dota and CSGO.
Second part predicts winner of a match based on scraped statistics.
Third hits selected CZ bookies, and if a games are played, compares the odds of predictor against bookie odds and suggest appropriate action. Does not bet itself.

Reality check

Currently LoL and CS:GO seems to be working reasonably well.

Accuracy score (.score, one of the metrics used) for games:

  • LoL ~73% (RandomForrest)
  • Dota ~68% (RandomForrest)
  • CS:GO ~70% (GradientBoosting)

Dota does not deliver in real scenario.

Usage example

Run main.py --help for possible actions.

OR

run X_main.py in scrape folder of the game to download the statistics ( which might take a while...), then run main

main.py --compare_odds name_of_game : Checks if any games are being offered at implemented bookies and if so, compares predicted odds against bookie odds, and then sends email with recommended action.

Development setup

Just install dependencies from environment.yaml .

Release History

  • Project is not intended for production

Meta

Pavel Klammert@LavinaVRovine[email protected]

https://github.com/LavinaVRovine

Distributed under the MIT license. See LICENSE for more information.

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Attempt to predict winner of e-sport games listed at few CZ bookies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published