GithubHelp home page GithubHelp logo

andreiapostoae / dota2-predictor Goto Github PK

View Code? Open in Web Editor NEW
366.0 39.0 82.0 64.23 MB

Tool that predicts the outcome of a Dota 2 game using Machine Learning

License: MIT License

Python 60.01% CSS 5.77% JavaScript 24.62% HTML 9.60%
machine-learning logistic-regression dota2 gaming neural-network prediction dota

dota2-predictor's People

Contributors

andreiapostoae avatar michael-pacheco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dota2-predictor's Issues

guide pls

pls help how to use this there are error comming unknown mmr etc etc

Does the network output [Dire_Winchance, Radiant_Winchance] or [Radiant_Winchance, Dire_Winchance]?

Something that I've noticed is that in the augment_one_hot.py you do

if row[1] == '0':
    new_row.extend([0, 1])
else:
    new_row.extend([1, 0])

which means we will have [0,1] for a dire win and [1,0] for a radiant win. Later on in the NeuralNet.ipynb we fill the y_train and y_test accordingly with 1 in the first column if it is a Radiant win and 1 in the second column if it is a dire win.

However, moving on to query.py:

if faction == 'Radiant':
    probabilities_dict[i] = result[0][1] * 100
    query_list.pop(0)
else:
    probabilities_dict[i] = result[0][0] * 100
    del query_list[-1]

the FIRST column is now interpreted as dire winrate and the SECOND column as radiant winrate.

Am I overlooking or confusing something or is this indeed a confusion of indices?

Next pick?

What do you think would be a neat approach to predict the next pick based on say, 2 heroes already picked and there onward?

I was just wondering how one would pick a character based on the previous picks. I understand this is far fetched as the remaining picks could influence the already predicted pick (but that would be too late).

What are your thoughts?

Error: Please set API_KEY environment variable.

Hi! Amazing project!!

When I try to run steam_miner.py, it returned the error Please set API_KEY environment variable.

How could I solve this problem

os: Window10 64bits
envi: Anaconda python 2.7

Support 7.07?

will you guys support version 7.07? IceFrog added two new heroes.
btw, how you guys get the range of match id for a specific version of dota2.

Suggesting Ability, Talent & Item Builds

Do you think the data mined could be used to train a ML system to make recommendations on the order of ability leveling that should happen in a match given a specific role and lane versus specific opponents?

Similarly, could it make suggestions with respect to which talent to level at each decision point?

Finally, how about a generic Item Build suggestion system based on friendly and enemy hero pool, friendly and enemy current item list, and hero-in-question role?

I'm working on a generic dota2 RL platform and system (modeled after DeepMind's SC2 work) and all 3 of these (plus hero selection real-time during game start) would be useful pieces to have.

My dota 2 work is here: https://github.com/pydota2/pydota2

Implementing gradient boosting

Hi, me and two of my friends are going to have this final project for our course in the university about dota-2 predictor using gradient boosting, which is another ML algorithm that we believed can be tested with this predictor and maybe have more than 60% accuracy. If our proposal will be accepted by our lecturers and teaching assistants, it will take us 1-2 months to finish the project.

Is there any suggestion or any tips that we can applied during later on? Many thanks

How to calculate new similarities_all.csv

After data processing and training process with 7.07 data, I don't know how to re-calculate the similarities_all.csv

P.S. I plotted the hero map successfully

Thanks a lot!

Bug in query.py resulting in wrong hero predictions

I created a pull request, it's just a very small index mistake in the query.py. However, this issue is supposed to warn users that the query.py currently outputs wrong winning chances for each hero if you put call query.py with a list of 9 heroes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.