-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to do combinations? #30
Comments
Hi @TylerL-uxai I'm not familiar with Clash Royale so apologies for this. The number on the left is the most important piece of data in your dataset. It is called "the label".
I'm assuming each line is one game and the games are ordered by time. They must be ordered by time played, earliest first. I'm also assuming that the number following the date in your original data is the number of points The meaning of the cards to the right of the And from your description, I believe the highly negative number means this particular set of cards makes whoever holds it, lost that number of points on that game (i.e. it is was a relatively weak card combo compared to the opponent). The final result file name is Hope this answers your question and that it makes sense... Edit: there may be a little issue in the original data. The 'trophies' number must be he trophies after playing the cards in the same line, not before. I think if it is the trophies before the game, the results will be actually be junk/random and not what you're looking for... |
Ah! So losing that many points just means it was a relatively popular combination of characters! That makes sense. Also, I just used the format in ariel.csv (trophies in the middle). Kept the date constant, which seems to still work.
Thank you so much for taking the time to write this! You're significantly (stats joke... significant) helping me learn artificial intelligence! Would I use --interaction to change it from the strongest/weakest card to the strongest/weakest combination of cards? Do I need to add a b c d e f g h to the characters in the train inputs file or somehow modify the code that generates the file? Thank you! |
To add interactions you may add some vw flags to For example: add single hidden-layer neural-net with 3 nodes and direct bypass you could add:
As the code is written right now there's no support for name-spaces so Adding such interactions will require a change to the script Once you add a namespace (say Note that the final output ( HTH. |
For anyone else wondering, to make namespaces, modify lifestyle-csv2vw with the following code
(f is now the namespace) I'm going to do more research on how to use a neural net to get the best combination of 8 characters. Thanks again Ariel! |
Any idea why this error fires when I add --interactions or -q? I got it working yesterday somehow (with interactions). Anyway, here's the error:
Happens when I clone the repo, add |f to namespace in username.train, and add --interactions ff or -q ff to the VW ARGS
it says this
Update edit: It seems to sort of work with interactions if I add a return arbitrarily.
|
Please note that the suggested 'fix' above is not a fix. It only masks the real problem. |
Hey Ariel :) I saw that you're answering questions through issues. I hope this is the best way to reach you.
I love this project! I'm using it on Clash Royale like this
Everything's working great. I can generate a score chart and see the best cards overall. But what I noticed in username.train is something like this
I'm assuming those are the most commonly played cards? Or is that the best possible deck combination, because it has the greatest negative weight (-1202) meaning it wins against the player more frequently than any other combination?
I guess I'm asking the significance of the number on the left and how the features are chosen on the right side, and from there I can work toward finding the best 8 card combination. Thanks for any help you can provide!
The text was updated successfully, but these errors were encountered: