Poker-AI.org
http://poker-ai.org/phpbb/

Database
http://poker-ai.org/phpbb/viewtopic.php?f=26&t=3236
Page 1 of 1

Author:  sadnok [ Wed Jul 17, 2019 4:11 pm ]
Post subject:  Database

what are you guys using to save all your solutions once your models are finished

i have read many are using api in symfony which looks something like this

{
"big_blind":20.0,
"flop_cards":"Jd2dTh",
"hand_id":"f29805e4-e526-4r8c-8c4d-6a61268583e5",
"is_deal":1,
"player_cards":"Kd6d",
"pot_current":60.0,
"r1actions":"25 65 CL",
"r2actions":"",
"r3actions":"",
"r4actions":"",
"river_cards":"",
"round_nb":2,
"small_blind":5.0,
"turn_cards":""
}

Mongodb looks interesting for this as well? what do you guys prefer or what is the difference? Also my biggest question. How do we import it into these databases?

i am thankful for any hints or advice as i am just starting to learn all of this. would be as well thankful if you can provide me good sources to read up

Author:  HontoNiBaka [ Mon Jul 22, 2019 7:20 pm ]
Post subject:  Re: Database

I simply save them as integer arrays. I usually go for CFR so what I have to save are the regrets, I then find the correct index in that array with some code that I wrote.
DBs can be fine, but I think if the solution becomes big you will be wasting some space.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/