Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 2:38 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Database
PostPosted: Wed Jul 17, 2019 4:11 pm 
Offline
New Member

Joined: Tue Jul 16, 2019 7:57 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: Database
PostPosted: Mon Jul 22, 2019 7:20 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group