The Advanced Matlab Code Page got 500 members!

February 26, 2010 by Admin · Leave a Comment
Filed under: General 
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)
VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)

A good news, the Advanced Matlab code facebook page reached 500 members, and it is not over yet!

Keep subscribing:

Follow Us On:

FacebookFacebook


VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)

Popularity: 3% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS

Poker Predictor: a Free Texas Hold’em Odds and Probability Computer

February 24, 2010 by Luigi Giaccari · 1 Comment
Filed under: Games, General, Probability, Statistics 
VN:F [1.8.1_1037]
Rating: +1 (from 1 vote)
VN:F [1.8.1_1037]
Rating: 10.0/10 (1 vote cast)

Download Poker Predictor  Version v1.1

 

The finest poker brains on your side!

Poker predictor currently supports  only Texas Hold\'em. Which poker version would you like to see on next release?











In real life poker games many factors affects the game. A good poker player has to study  facial expression, breath frequency, hands movements etc. In online games you have no opponent to look  in the eyes,  the math behind poker takes a leading role to gain an edge against others players. To become a good online poker player you have  to know at least some basic poker theory.

First of all I want to say something about the relationship between math and poker. Poker is a cards game, this means luck counts, you wont win all the matches if you know all the odds and if you are a great bluffer.  To win, you also have to be a little luck and, fortunately, poker is still an human game, experience and skills are important too.

But what is important is to acquire a good gaming style that allows you to play correctly every time. It does not mind if you play correctly and you still loose. You may loose this game but you’ll see that on a large numbers of matches the edge you have against your opponent will turn into money.

Now how to acquire a mathematically correct good gaming style?

There are two options:

  • You can study all the odds, read a thousand of poker game theory, make some quite complex calculations in your head each time a card falls on the table.
  • You can Download Poker PredictorDownload Poker Predictor  Version v1.1

What can Poker Predictor Do

Texas holdem poker is about:

  • 2+5 cards each player
  • 52 total number of cards
  • 1326 starting hand configurations
  • 207025 distinct head-to-head match ups
  • 1712304 possible boards
  • 690900 hands configurations with a single opponent
  • over 6.22 e26 with 9 opponents
  • ……………..

All of them are in Poker Predictor

Poker Predictor is a tool to calculate poker games probabilities from whatever cards configuration. Probability are computed with random cards permutation, they are not the exact ones but the high simulations numbers ensure the error to be less than 1%.

Thanks to his strong computational engine, It can simulate 100′000 10 players Texas hold’em games in a matters of 0.3 seconds, so it is actually a real time tool, very useful for on line games, especially with high level players. It is possible to choose both players and opponents cards.

Although a little rough in the graphics (I am not a software developer, neither a programmer, just an engineer with poker passion) Poker predictor is a powerful tool, I am myself using it.

Parameters computed by poker predictor

OnLine Help for Poker Predictor

Downloads

Release History:

Poker Predictor v1.0

(24/02/2010)

Download for Win 32

Download Poker Predictor v1.0
Poker Predictor v1.1

(09/03/2010)

Download for Windows

  • compatibility for win 64 systems
  • 4 colors cards
  • installer
Download Poker Predictor  Version v1.1

This version is completely free. You can remove the ads on them with a 5 euros contribution to the project:

donations will be used to enlarge this utility

Poker Predictor was developed for Matlab at the beginning here you can find the matlab version: Matlab version of Poker Predictor

Poker predictor is always under development. Any question/suggestion? giaccariluigi@msn.com

VN:F [1.8.1_1037]
Rating: 10.0/10 (1 vote cast)
VN:F [1.8.1_1037]
Rating: +1 (from 1 vote)

Popularity: 4% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS

Poker Predictor: How to Use it

February 24, 2010 by Luigi Giaccari · Leave a Comment
Filed under: General, Probability, Statistics 
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)
VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)

Go to main post

 

This page is some kind of poker predictor online help. Here you can find discussions about its game parameters. Suggestions are greatly appreciated, Poker Predictor is always under development.

Please go to Poker Predictor: How to Use it to view the survey

Profit

Each poker hand is just like an investment: you can loose the money you invest or you can make more money out of them. We need a parameter to know whether our cards are supposed to be a good investments or not.

Profit express the gain of money, or chips, you are expecting from the game. Basically are worth playing pre -flop cards with positive profit. This in the hypothesis you go to river all the hands. Obviously this is untrue. So you have to act like a “smart” player: if the game is very hard, full of rising players, you can play all hands with 10% (as example) profit, so you have more chance to “resist” to your opponents shoots. On the others side, if you meet soft players that always fold, even with low raises, you can play cards with negative profit (for example-10%)

Profit also take into account number of players,folds, Odds. For example folds decrease profit, since there will be less money on the pot. This may seems strange but it is true, folds increase your winning chance but actually decrease your capability to earn money.

Consider Profit is an instantaneous parameter which depends on the current cards configuration. There is also the profit of the entire game considering previous moves, but calculating this requires the history of the game and it is not supported.

Player and opponent higher rank

I suppose this need no explanation.

Winning chance

Probability to win after river. Notice that the probability suppose you go on until river card falls.

Tie chance

probability to tie after river.

Odds

the odds bookmakers would give to your game. When is odds useful? First of all, odds take into account both winning and tie chance. Ties are considered only partially because in that case the pot is divided among all the winners.

If the game is completely random, odds equal the number of players, this means every players has the same winning chance. So if odds overcomes players number this means your cards are worse than usual. On the other side if your odds is lower than the number of players your cards are good.

Odds are generally more useful than the winning chance. Let’s make an example: you have 30% of winning. Is that good?

The right answer id I don’t know, it depends on the number of players. If there are only two players 30% is bad winning chance but if we are 12 players of course is good. How do I find the limit? what is the number of players for which 30% winning is a good chance?

Well, you don’t have to get tired everytime on this computation, you can bypass them just by looking the odds number: is lower than the player number than is good, is higher than is bad. Odds and winning chance are just two different ways to estimate how  strong are your cards.

If you have zero winning chance your odds equals infinity, bookmakers will pay  a lot of money in case you win, but this just because you can not win. If odd equals one you are sure to win. The lower is the Odds the higher are you’re winning chance.

MaxBet/Pot

This is the answer to question call/fold when an opponent make raise. This is max bet, compared with the pot, you can do remaining in the mathematical correctness of the game. This means that if you can afford to bet the 30% of the pot you can call any raise which respect this condition. If this parameter overlaps 100% you can bet all the pot, you have more than 50% of winning and you are (theoretically) allowed to go all in, it is you or your opponent. Generally listening to this data carefully lead to run too much risk, the all in in poker may be without return !
What I suggest is to find to find a good feeling with the values of this parameter that fits your gaming style.

Consider that the pot you see when you call may increase during the game, this can not be calculated by the program, expert players must also consider this factor.

Any questions, suggestions?

Go to main post

VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)

Popularity: 3% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS

Get Paid to Write Posts: new Advanced Matlab Code Policy

February 22, 2010 by Admin · 1 Comment
Filed under: General 
VN:F [1.8.1_1037]
Rating: +1 (from 1 vote)
VN:F [1.8.1_1037]
Rating: 10.0/10 (1 vote cast)

Thanks to our new sponsors, and of course, thanks to rising numbers of visitors we are now able to pay you a little sum of money for your contributions on this website. Of course we wont make you rich, this is just our contribution for your efforts.

We can currently pay from 5$ up to 20$ each posts.

Depending on the number of requests and offers, we hope to increase the “cachè”.

There are just a few rules your posts need to respect:

  • must be original, not copied from somewhere else
  • must be “well written”
  • must be science related. All scientific items accepted
  • if it contains some advertising, we can still publish it, but we wont pay you

There is no minimum value for payments, you can be paid immediately for just one post. Money will send trough paypal or bank account. We will decide the amount of the payment (in the 5$ to 20$ range) depending on the post quality. You can accept or refuse our offer, if you refuse your post wont be published.

To write posts just get an author account, you will soon receive your password, then you can Log In in the post editor. Or simply contact us at advancedmcode@gmail.com.

For questions/suggestion you can use the same contact or the comments below.

VN:F [1.8.1_1037]
Rating: 10.0/10 (1 vote cast)
VN:F [1.8.1_1037]
Rating: +1 (from 1 vote)

Popularity: 9% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS

GLTree Matlab Example: KNNGraph Function

VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)
VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)

Go to main post

KNNGraph3D query a GL-tree for k nearest neighbor Graph

SYNTAX

[kNNG]=KNNGraph(p,ptrtree,k);       short
[kNNG,dist]=KNNGraph(p,ptrtree,k);  long

INPUT PARAMETERS

  • p: [3xN] double array coordinates of reference (and query) points. In a nearest neighbour graph for each point in p the k closest in p (different from the point itself) will be found.
  • ptrtree: a pointer to the previously constructed  GLtree.Warning if the pointer is uncorrect it will cause a crash, there is no way to check this in the mex routine, you have to check it in your script.

k: number of neighbors

OUTPUT PARAMETERS

  • kNNG: [Nxk] array, each rows contains the kNN indexes So in row one there are kNN to first query point, in row two to the second etc…
  • Dist: [Nxk] array, Facultative output, each rows contains the distance values of the  found kNN.

GENERAL INFORMATIONS

-This function is faster if all query points are given once
instead of looping and passing one point each loop.

For question, suggestion, bug reports
giaccariluigi@msn.com

EXAMPLE

N=200;%reference points
k=3;%k neigh

p=rand(N,2);%generate random points

fprintf(‘RANDOM POINTS GENERATED\n\n’)

fprintf(‘BUILDING THE DATA STRUCTURE:\n’)
tic
ptrtree=BuildGLTree2D(p’);
fprintf(‘\tGLTree built in %4.4f s\n\treturned pointer %4.0f:\n\n’,toc,ptrtree);

fprintf(‘START K NEAREST NEIGHBOR GRAPH CONSTRUCTION:\n’)
tic
[KNNG,distances]=KNNGraph2D(p’,ptrtree,k);
fprintf(‘\t  KNNGraph of%4.0f neighbors in %4.0f reference took: %4.4f s\n\n’,k,N,toc);

fprintf(‘DELETING THE TREE\n\n’)
DeleteGLTree2D(ptrtree);

fprintf(‘TEST SUCCESFULLY COMPLETED !!!\n\n’)

%plot the NNG

figure(1)
title([num2str(k),' Neighbours'],’fontsize’,14);
axis equal
hold on
plot(p(:,1),p(:,2),’g.’)
p1x=p(:,1);
p1y=p(:,2);
for j=1:k%loop trough all k
p2x=p(KNNG(:,j),1);
p2y=p(KNNG(:,j),2);
plot([p1x,p2x]‘,[p1y,p2y]‘,’r-’)
end

RESULTS

RANDOM POINTS GENERATED

BUILDING THE DATA STRUCTURE:
GLTree built in 0.0030 s
returned pointer 94704384:

START K NEAREST NEIGHBOR GRAPH CONSTRUCTION:
KNNGraph of   3 neighbors in  200 reference took: 0.0016 s

DELETING THE TREE

TEST SUCCESFULLY COMPLETED !!!

Go to main post

VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)

Popularity: 1% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS

Next Page »