andreiapostoae / dota2-predictor Goto Github PK
View Code? Open in Web Editor NEWTool that predicts the outcome of a Dota 2 game using Machine Learning
License: MIT License
Tool that predicts the outcome of a Dota 2 game using Machine Learning
License: MIT License
Some of the current arguments do not work as intended (e.g. arguments that should be optional are mandatory instead). An argument parser should be used as it allows switching the order too.
Preprocessing a pd.DataFrame row by row and calculating advantages is painfully slow. Should parallelize the loops as the rows do not interact with each other.
Reference: https://blog.dominodatalab.com/simple-parallelization/
pls help how to use this there are error comming unknown mmr etc etc
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?
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?
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
Running the code as is without Anaconda crashes python on startup with a NSInvalidArgumentException
.
Adding these two lines from this answer to the top of the basic_gui.py
file solves this problem.
Python crashes after Tkinter and matplotlib.pyplot are imported
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.
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
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
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!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.