saltbot-org / saltbot

automated virtual betting bot
GNU General Public License v2.0
52 stars 45 forks source link

What is the exact purpose of Chromosomes ? #73

Closed 1Azami1 closed 8 years ago

1Azami1 commented 8 years ago

Everything is in the title.

synkarius commented 8 years ago

https://en.wikipedia.org/wiki/Genetic_algorithm

1Azami1 commented 8 years ago

Ok, and now for my next question : I have "g(912), best: 63.6%, $49441169" below the "Chromosomes Management" thing. What is the exact meaning of this ?

reconman commented 8 years ago

It means the 912th generation of the Genetic algorithm produced a 63.6% win rate with 49 million salt earned for all the matchups recorded so far.

Usually the genetic algorithm will reach a maximum somewhere after the 100th generation and probably won't find anything better. Nonetheless the genetic algorithm won't stop producing generations until you close the menu by clicking somewhere on the saltybet site or on the saltbot icon.

1Azami1 commented 8 years ago

So, what would you recommend me to do to get an higher win rate ?

Zyrixion commented 8 years ago

Well, given the current formulas and methods being used, and given the data we're actually able to scrape through just the chat, there is an upper limit to the win rate, partly based on the quantity of matchup data you have. I am playing around with the code at the moment seeking to achieve a higher accuracy, but the primary method I am seeking to implement requires several times the matchup data I possess. It would probably take months and months of recorded data to be relevant, but I think directly using previous matches between specific characters in the determination of who will win the match is potentially one of the better ways to push accuracy to higher levels in matches there is data for. If perhaps you do have the last few months of 24/7 matchup data, I'd be HIGHLY interested in obtaining it.

1Azami1 commented 8 years ago

Sadly, I only started using this addon since October so I don't have that much of data, sorry. But anyway, thanks for all those useful answers. :)

synkarius commented 8 years ago

Speaking of people starting to use this bot, I've been watching the numbers on the Chrome Store, and there's been a huge spike recently. Does anyone know anything about that?

@Zyrixion I have an extra 15k matches from about 3 months ago, if you want them.

Zyrixion commented 8 years ago

@synkarius There are a few upset bots on Saltybet which have gained quite some notoriety, so it could just be the greater knowledge of its existence among the userbase and some curiosity about it. Also I would love to have that matchup data, it's more data than I currently have, and goes back further than any of my current data does.

synkarius commented 8 years ago

http://explosionduck.com/sb/sb.zip

Zyrixion commented 8 years ago

Thanks for the data. As an aside, I managed to somehow break the genetic algorithm system while messing with the scientist strategy, whenever I click 'Update Genetic Weights' it just freezes the dropdown menu with no output and if you click away the menu disappears and won't open again until I reboot chrome. Any ideas offhand of what might cause that? Or, if you have time perhaps, take a look at https://github.com/Zyrixion/saltbot/tree/experimental/src ? I've only thus far touched salty.js and strategy.js. As an aside perhaps we can find a better medium for discussion than hijacking this issue post?

EDIT: Oh wait, it isn't frozen, it's just taking well over a minute per generation. Huh. How odd.