-
Notifications
You must be signed in to change notification settings - Fork 17
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
Why do I think that merging Win/Tie isn't (ever) the solution #15
Comments
I think you're probably right that exposing the tie percentage is valuable. I do think having a function that just returns raw equity is valuable though, and I'm a little concerned that tuple creation might come with overhead that hurts performance meaningfully for someone calling the function in a hot loop. The right thing to do here is to create a new function that returns the tuple, then try calling that from I might get around to doing that at some point, but I don't see myself getting to it any time soon, so if you're interested in having a go, PRs are welcome! |
Yes of coure, I have the same opinion. Any variable that can do some sort of information can be valuable.
bench7: 904.8087770938873 Bench8 uses the tuple. |
Hi mate,
I am always me.
I will try to explain my issue and why I edited a piece of your code, and how and why so if you need it for your AI you can reuse it.
First of all, I edited equity.pyx (I added the bold to the changes):
cdef tuple hand_vs_range_monte_carlo(unsigned long long hand, ...):
cdef unsigned int wins = 0
cdef unsigned int tie = 0
Let me explain, I encountered a lot of problems trying to clustering rivers combinations (hand + 5 cards) and I have tried many different solutions (your equity, machine learning tequines like k-mean, manually and a combination of all these mentioned above).
The first solution was simply creating 1002 clusters (from equity 0, ..., 0.342, 0.343, ..., 0.5, ..., 0.789, ... to 1.0) but the problem was a missing of board informations. For him a board like "sssss" (a flush on the board) with no flushes in the cards of the hand was good as a middle pair. And of course that's not good. You can't cluster these two type of hands because are too different (AI was really weak with that type of clustering), but if you offer him the percentage of tie he can detect better a lot of board patterns.
My post isn't a issue, it was only a discussion to have a comparison and get more ideas.
And thank you for all
The text was updated successfully, but these errors were encountered: