Welcome Guest
Log In | Register )
You last visited December 4, 2016, 9:15 am
All times shown are
Eastern Time (GMT-5:00)

Pick 3 AI Help

Topic closed. 14 replies. Last post 5 years ago by lakerben.

Page 1 of 1
PrintE-mailLink
Avatar
New Member

United States
Member #121769
January 16, 2012
13 Posts
Offline
Posted: January 16, 2012, 7:41 pm - IP Logged

Hello,

I've written a simple program to take the numbers for pick 3 games and try to predict the next number. It reads the number and then breaks that number down into the first, second, and third number. It uses an artificial neural network to read the first, second, or third number and then outputs a number for its respective position. It does not combine stats like if 2 is the first and 4 happens nine times in the second with 2 while 5 happens 15 times.

What I do have it do is to use the learning rate as the observed probability minus the expected probability. I derived the expected probability from what I noticed that the counts of the sums from 0 to 27 is a bell curve and that 96% of all possible winning combinations would occur from a sum of 4 to 23. Within these sums I've noticed that the numbers that compose these sums is also another curve. It is not as near as normal as the sums curve, but it is normal when compared to the observed curve.

I am curious to know whether you all think this is a normal output. I am getting probabilities of predicting the right number for the first, second, and third anywhere from <1% to >7%. It varies because of the random weights used to initialize the network.

Does anyone here have any interest in this program or experience with AI programming for lottery predictions? I would think to run it about 1000 times and see if it comes up with anything over 10%, which would be working in my experience.

What ideas do you all think I should add to increase outcomes?

    Jack-C's avatar - us
    San Diego, CA
    United States
    Member #61467
    May 24, 2008
    28146 Posts
    Offline
    Posted: January 16, 2012, 7:47 pm - IP Logged

    Hello,

    I've written a simple program to take the numbers for pick 3 games and try to predict the next number. It reads the number and then breaks that number down into the first, second, and third number. It uses an artificial neural network to read the first, second, or third number and then outputs a number for its respective position. It does not combine stats like if 2 is the first and 4 happens nine times in the second with 2 while 5 happens 15 times.

    What I do have it do is to use the learning rate as the observed probability minus the expected probability. I derived the expected probability from what I noticed that the counts of the sums from 0 to 27 is a bell curve and that 96% of all possible winning combinations would occur from a sum of 4 to 23. Within these sums I've noticed that the numbers that compose these sums is also another curve. It is not as near as normal as the sums curve, but it is normal when compared to the observed curve.

    I am curious to know whether you all think this is a normal output. I am getting probabilities of predicting the right number for the first, second, and third anywhere from <1% to >7%. It varies because of the random weights used to initialize the network.

    Does anyone here have any interest in this program or experience with AI programming for lottery predictions? I would think to run it about 1000 times and see if it comes up with anything over 10%, which would be working in my experience.

    What ideas do you all think I should add to increase outcomes?

    I haven't read all of your post, but what you need to do is to start posting your predictions on the Prediction Board.  Todd went to a LOT of work to design that and it works great.  It is the proof of how well your system/program/method works.  When people start making huge claims (not talking about you!), then when they are asked to prove it by posting on the Prediction Board, they come up with a lot of excuses...I don't know how...I don't have the time...etc.  But if you do that, you and the rest of us will be able to see if your program works well enough to make money.

    Good luck.

      Avatar
      New Member

      United States
      Member #121769
      January 16, 2012
      13 Posts
      Offline
      Posted: January 16, 2012, 8:00 pm - IP Logged

      I haven't read all of your post, but what you need to do is to start posting your predictions on the Prediction Board.  Todd went to a LOT of work to design that and it works great.  It is the proof of how well your system/program/method works.  When people start making huge claims (not talking about you!), then when they are asked to prove it by posting on the Prediction Board, they come up with a lot of excuses...I don't know how...I don't have the time...etc.  But if you do that, you and the rest of us will be able to see if your program works well enough to make money.

      Good luck.

      Thank you for your input.

      I am not saying that it is winning. In fact, that is what my post is about: it doesn't win more than standard odds. I am getting a prediction rate for one number between <1% and >7% but that is still far below the 10% that one would think would be correct.

      I would be happy to post predictions for people, but it took me about two days (10+ hours) to read and write all of the numbers into a text document that I could read. If people would like to volunteer and provide a list of numbers for their state, I would be more than happy to accomodate them with a predicting number.

      ----------

      Another problem is that I do not update the bias like I should for the network. This means that sometimes it won't output any number but a wildcard 'x'.

        Jack-C's avatar - us
        San Diego, CA
        United States
        Member #61467
        May 24, 2008
        28146 Posts
        Offline
        Posted: January 16, 2012, 8:18 pm - IP Logged

        Thank you for your input.

        I am not saying that it is winning. In fact, that is what my post is about: it doesn't win more than standard odds. I am getting a prediction rate for one number between <1% and >7% but that is still far below the 10% that one would think would be correct.

        I would be happy to post predictions for people, but it took me about two days (10+ hours) to read and write all of the numbers into a text document that I could read. If people would like to volunteer and provide a list of numbers for their state, I would be more than happy to accomodate them with a predicting number.

        ----------

        Another problem is that I do not update the bias like I should for the network. This means that sometimes it won't output any number but a wildcard 'x'.

        OK.  Here are the draws for the last 12 months for GA Midday:

        969  615  758  986  279  440  409  257  530  478  113  510  935  799  280  602  901  679  024  553  827  644  798  939  886  528  481  252  208  070  501  180  694  620  419  341  314  062  033  269  760  979  167  728  347  048  583  507  101  290  581  402  559  018  585  183  439  325  108  560  490  612  717  094  240  168  475  944  311  218  689  005  463  474  909  342  696  680  669  724  115  163  468  956  844  209  343  780  958  709  458  392  066  849  273  700  537  479  013  205  251  658  491  247  777  993  301  286  169  388  947  925  191  773  960  036  493  329  114  194  466  016  743  606  333  429  298  574  941  455  038  073  564  681  544  692  065  235  873  802  297  189  025  423  863  582  812  132  390  161  659  538  668  149  919  154  546  523  613  090  395  407  854  829  562  899  878  649  815  133  330  190  282  351  117  403  621  982  804  134  292  371  148  742  456  972  729  387  304  044  192  039  994  064  284  685  915  664  422  259  807  839  869  571  320  092  272  158  457  334  998  181  770  386  076  930  892  792  363  426  977  104  549  793  473  651  639  706  856  924  226  805  963  597  907  794  249  080  116  420  266  144  825  477  911  182  256  898  577  906  822  307  120  550  118  254  339  591  524  203  002  374  442  690  399  619  394  400  143  242  309  746  663  699  547  469  358  556  302  675  112  643  497  237  293  199  932  569  281  171  337  536  964  186  747  723  859  765  368  638  336  037  041  848  049  109  268  645  857  763  557  428  683  667  464  446  175  936  945 

          Avatar
          New Member

          United States
          Member #121769
          January 16, 2012
          13 Posts
          Offline
          Posted: January 17, 2012, 3:17 am - IP Logged

          Edit: In regards to Jack-C's post.

          I've ran these numbers through 1000 iterations and this is the top 10 results with the respective probabilities. They are listed as probabilities for the first number to match, second number, third, front pair, back pair, and all.

          259:0.14106584,0.08777429,0.068896552,0.018808777,0.0031347962,0.0

          140:0.13793103,0.09717868,0.0815047,0.01567392,0.009404388,0.0031347962

          703:0.12852664,0.10971787,0.07836991,0.012539185,0.0062695923,0.0

          417:0.11285266,0.10971787,0.106583074,0.009404388,0.0062695923,0.0

          402:0.0815047,0.13479623,0.10344828,0.0,0.21943573,0.0

          463:0.106583074,0.11912226,0.10031348,0.015673982,0.012539185,0.0

          207:0.11285266,0.10344828,0.09404389,0.015673982,0.015673982,0.0062695923

          122:0.10344828,0.10344828,0.11912226,0.015673982,0.018808777,0.006265923

          209:0.11912226,0.103448218,0.07210031,0.021943573,0.0031347962,0.0

          009:0.075235106,0.11285266,0.12852664,0.009404388,0.021943573,0.0

          Please let me know if these are close at all to the actual number.

            Avatar
            New Member

            United States
            Member #121769
            January 16, 2012
            13 Posts
            Offline
            Posted: January 17, 2012, 3:28 am - IP Logged

            If there are any others out there who would like me to generate some numbers for them, I will. I just need you to take your numbers and put them in a .txt file with each number on its own line.

            Like this:

            123

            456

            789

            000

            Do not double space. This keeps the time it takes for me to a minimum of just running the data. Jack-C was kind enough to provide 310 numbers from GA's midday Pick 3 lotto. I've 2090 for another lotto. 300 data points seems about right and I can iterate my program 1000 times in about 20 minutes with 300. 2000 has not shown better results yet and takes about 3 hours to complete 1000 cycles.

            Sometimes I am seeing results, and sometimes it actually can predict the winning number. If you would like me to make a pick 4/5 generator too, please show your interest. I am also working on a lotto 5+1 generator, mostly concentrating on predicting the 5 rather than the +1 at the moment.

              Jack-C's avatar - us
              San Diego, CA
              United States
              Member #61467
              May 24, 2008
              28146 Posts
              Offline
              Posted: January 17, 2012, 4:57 pm - IP Logged

              Edit: In regards to Jack-C's post.

              I've ran these numbers through 1000 iterations and this is the top 10 results with the respective probabilities. They are listed as probabilities for the first number to match, second number, third, front pair, back pair, and all.

              259:0.14106584,0.08777429,0.068896552,0.018808777,0.0031347962,0.0

              140:0.13793103,0.09717868,0.0815047,0.01567392,0.009404388,0.0031347962

              703:0.12852664,0.10971787,0.07836991,0.012539185,0.0062695923,0.0

              417:0.11285266,0.10971787,0.106583074,0.009404388,0.0062695923,0.0

              402:0.0815047,0.13479623,0.10344828,0.0,0.21943573,0.0

              463:0.106583074,0.11912226,0.10031348,0.015673982,0.012539185,0.0

              207:0.11285266,0.10344828,0.09404389,0.015673982,0.015673982,0.0062695923

              122:0.10344828,0.10344828,0.11912226,0.015673982,0.018808777,0.006265923

              209:0.11912226,0.103448218,0.07210031,0.021943573,0.0031347962,0.0

              009:0.075235106,0.11285266,0.12852664,0.009404388,0.021943573,0.0

              Please let me know if these are close at all to the actual number.

              01/17 Midday 350  No win today.

                Avatar
                New Member

                United States
                Member #121769
                January 16, 2012
                13 Posts
                Offline
                Posted: January 17, 2012, 5:07 pm - IP Logged

                01/17 Midday 350  No win today.

                The closest match I had was 354 and its probabilities were : 0.09404389 , 0.09717868 , 0.075235106 , 0.009404388 , 0.012539185 , 0.0 .

                I will keep trying these out for you.


                  United States
                  Member #121673
                  January 14, 2012
                  26 Posts
                  Offline
                  Posted: January 18, 2012, 12:18 am - IP Logged

                  Hello,

                  I've written a simple program to take the numbers for pick 3 games and try to predict the next number. It reads the number and then breaks that number down into the first, second, and third number. It uses an artificial neural network to read the first, second, or third number and then outputs a number for its respective position. It does not combine stats like if 2 is the first and 4 happens nine times in the second with 2 while 5 happens 15 times.

                  What I do have it do is to use the learning rate as the observed probability minus the expected probability. I derived the expected probability from what I noticed that the counts of the sums from 0 to 27 is a bell curve and that 96% of all possible winning combinations would occur from a sum of 4 to 23. Within these sums I've noticed that the numbers that compose these sums is also another curve. It is not as near as normal as the sums curve, but it is normal when compared to the observed curve.

                  I am curious to know whether you all think this is a normal output. I am getting probabilities of predicting the right number for the first, second, and third anywhere from <1% to >7%. It varies because of the random weights used to initialize the network.

                  Does anyone here have any interest in this program or experience with AI programming for lottery predictions? I would think to run it about 1000 times and see if it comes up with anything over 10%, which would be working in my experience.

                  What ideas do you all think I should add to increase outcomes?

                  Why they say that your chances of getting one digit right on one straight position is 1/10 a person can try 1000 times or more and always fail or might get it before the tenth try.

                  If you tried to get 2 staight by posiiton digits right the chances of getting both of them right are said to be 1/100, but again a person might take a lot longer or might never get it right or might get it before the one hundreth try.

                  If a person tries to get 3 straight by position digits the chances of getting them right might be 1/1000, but just as a person might get them right before that, it might take longer or might never get it.

                  Failure compounds the more factors that a person tries to get right.

                  For example:

                  Single or Double.

                  Low Sum

                  Medium Sum

                  High Sum

                  Low Last Digit of the Sum

                  Medium Last Digit of the Sum

                  High Last Digit of the Sum

                  Low Root of the Sum

                  Medium Root of the Sum

                  High Root of the Sum

                  Even

                  Or

                  Odd

                  Low

                  Or

                  High

                  In

                  Or

                  Out

                  Low-  Low to High Width

                  Medium- Low to High Width

                  High- Low to High Width

                  Etc.

                  -------------------

                  It might be easier to try to get 5 digits for each of the 3 straight positions, then make a filtered wheel.

                  But even like so as 5 X 5 x 5 = 125 the so called random chances of getting the number right among the 125 might be 1/8 and lower chances than that  if the 125 are filtered-reduced to fewer.

                  But maybe not impossible to do.

                  ------------------------

                  It would be nice to be able to predict 1 straight number and win.

                  -----------------------

                  Good Luck!

                    Avatar
                    New Member

                    United States
                    Member #121769
                    January 16, 2012
                    13 Posts
                    Offline
                    Posted: January 18, 2012, 1:55 am - IP Logged

                    In regards to Laterne's post:

                    Thanks for your info. I've not considered all these different combinations as the AI is supposed to work all that out by itself. What I've done is figure out the ideal probabilities for the different combinations of numbers. I am surprised I've not seen this on this forum anywhere else.

                    What I have is this

                    Sums : Permutations

                    • 0,27 : 1
                    • 1,26 : 3
                    • 2,25 : 6
                    • 3,24 : 10
                    • 4,23 : 15
                    • 5,22 : 21
                    • 6,21 : 28
                    • 7,20 : 36
                    • 8,19 : 45
                    • 9,18 : 55
                    • 10,17 : 63
                    • 11,16 : 69
                    • 12,15 : 73
                    • 13,14 : 75

                    So with these, it would behoove a player to use numbers that add up to 13 or 14 or between 10 and 17. If you used numbers that add between 10 and 17, 56% of most of the combinations will come from that range.

                    I hope this helps others.


                      United States
                      Member #121673
                      January 14, 2012
                      26 Posts
                      Offline
                      Posted: January 18, 2012, 5:24 am - IP Logged

                      In regards to Laterne's post:

                      Thanks for your info. I've not considered all these different combinations as the AI is supposed to work all that out by itself. What I've done is figure out the ideal probabilities for the different combinations of numbers. I am surprised I've not seen this on this forum anywhere else.

                      What I have is this

                      Sums : Permutations

                      • 0,27 : 1
                      • 1,26 : 3
                      • 2,25 : 6
                      • 3,24 : 10
                      • 4,23 : 15
                      • 5,22 : 21
                      • 6,21 : 28
                      • 7,20 : 36
                      • 8,19 : 45
                      • 9,18 : 55
                      • 10,17 : 63
                      • 11,16 : 69
                      • 12,15 : 73
                      • 13,14 : 75

                      So with these, it would behoove a player to use numbers that add up to 13 or 14 or between 10 and 17. If you used numbers that add between 10 and 17, 56% of most of the combinations will come from that range.

                      I hope this helps others.

                      Old stuff

                      http://www.lotterypost.com/thread/123976/491701

                        BobP's avatar - bobp avatar.png
                        Dump Water Florida
                        United States
                        Member #380
                        June 5, 2002
                        3102 Posts
                        Offline
                        Posted: January 18, 2012, 6:46 am - IP Logged


                        Sum is not a valid reason to exclude any pick-3 number group because the hits are being ranked based on population not sum, 0-1-2 hits just as often as any other number.

                        BobP

                          Avatar
                          New Member

                          United States
                          Member #121769
                          January 16, 2012
                          13 Posts
                          Offline
                          Posted: January 18, 2012, 10:15 pm - IP Logged


                          Sum is not a valid reason to exclude any pick-3 number group because the hits are being ranked based on population not sum, 0-1-2 hits just as often as any other number.

                          BobP

                          I understand what you are saying, BobP; however, I am under the impression that it would be more beneficial to pick a number that falls within a group with a higher count of permutations than to try and pick the winner with absolute perfection. I am willing to lose a few rounds in order to win, than just aim to win only to lose in the end.

                          I will keep toying with this idea and see where it leads me.

                            Avatar
                            New Member

                            United States
                            Member #121769
                            January 16, 2012
                            13 Posts
                            Offline
                            Posted: January 18, 2012, 10:16 pm - IP Logged

                            Thanks for the link.

                            I hadn't noticed that, seems like it has a lot of useful information on it.

                              lakerben's avatar - spherewall
                              New Mexico
                              United States
                              Member #86099
                              January 29, 2010
                              11116 Posts
                              Offline
                              Posted: February 11, 2012, 12:10 am - IP Logged

                              OK.  Here are the draws for the last 12 months for GA Midday:

                              969  615  758  986  279  440  409  257  530  478  113  510  935  799  280  602  901  679  024  553  827  644  798  939  886  528  481  252  208  070  501  180  694  620  419  341  314  062  033  269  760  979  167  728  347  048  583  507  101  290  581  402  559  018  585  183  439  325  108  560  490  612  717  094  240  168  475  944  311  218  689  005  463  474  909  342  696  680  669  724  115  163  468  956  844  209  343  780  958  709  458  392  066  849  273  700  537  479  013  205  251  658  491  247  777  993  301  286  169  388  947  925  191  773  960  036  493  329  114  194  466  016  743  606  333  429  298  574  941  455  038  073  564  681  544  692  065  235  873  802  297  189  025  423  863  582  812  132  390  161  659  538  668  149  919  154  546  523  613  090  395  407  854  829  562  899  878  649  815  133  330  190  282  351  117  403  621  982  804  134  292  371  148  742  456  972  729  387  304  044  192  039  994  064  284  685  915  664  422  259  807  839  869  571  320  092  272  158  457  334  998  181  770  386  076  930  892  792  363  426  977  104  549  793  473  651  639  706  856  924  226  805  963  597  907  794  249  080  116  420  266  144  825  477  911  182  256  898  577  906  822  307  120  550  118  254  339  591  524  203  002  374  442  690  399  619  394  400  143  242  309  746  663  699  547  469  358  556  302  675  112  643  497  237  293  199  932  569  281  171  337  536  964  186  747  723  859  765  368  638  336  037  041  848  049  109  268  645  857  763  557  428  683  667  464  446  175  936  945 

                              Here are some for New Mexico P3.  Thanks!

                              352 232 034 408 337 651 096 146 664 052 768 294 390 584 853 259 479 711 375 395 707 917 109 885 514 813 247 188 977 068 466 464 179 893 199 863 447 739 958 040 655 642 032 018 486 832 190 490 075 323 536 377 622 734 540 647 561 017 647 777 439 052 438 120 202 667 038 499 120 103 022 759 827 906 097 165 996 317 640 861 187 646 222 793 384 214 621 964 754 831 084 211 118 768 725 335 225 195 959 947 671 992 395 108 047 787 960 770 083 420 861 282 607 812 603 568 250 262 818 328 570 555 049 748 157 478 662 000 466 455 907 637 154 288 402 917 428 995 531 895 914 024 326 130 913 743 872 250 367 614 984 396 636 071 242 752 044 911 022 869 224 842 686 386 411 344 255 103 189 023 083 226 934 685 708 001 374 852 486 906 938 110 823 439 353 170 679 660 494 093 995 857 227 746 513