It is currently 26 Feb 2021, 18:10

The Lottery Forum - Lottery Generators
• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

The lottery forum section of gimplearn.net will be here for historical purposes, as we have
created a brand new stand-alone forum at https://gimplearn.net/thelotteryforum/.
Please try to register and post there instead

TLF Topics: Active | Unanswered | Random
TLF Posts: Unread | New | Random
Lottery Forum
     Lottery/General Program Requests |🡆 Lottery Generators | Lottery CodeSkulptor Programs
     General Programs
     Chit Chat
Social:  Say Hello | Anything Goes | Shares

Neural Networks used to get numbers for Lotteries(649,LottoMax,Powerball,Megamillion)

Lottery Generators
Forum rules
This forum is now locked.
Please visit The Lottery Forum (New)
tim
GL Blogger

Neural Networks used to get numbers for Lotteries(649,LottoMax,Powerball,Megamillion)

Post#1 by tim » 05 Dec 2016, 02:25


Disclaimer: Using neural network to predict lottery numbers does not necessarily increase your odds of winning because draws are not dependent on previous draws results, but it sure makes more fun to play.

To run these neural networks.
You need Anaconda (Python 2.7) installed.
Libraries needed are: neurolab, numpy, termcolor, urllib2, os, zipfile (use pip to install these after having Anaconda installed, you can just install anyone of these libraries by using "pip install neurolab" from a terminal/command window where neurolab is your library name)
After you have these above installed.
You can download and extract this file:
Download
LOTTERY_NN.zip #
(6.97 KiB) Downloaded 501 times
It'll have 4 folders, one for each lottery type.
While inside one of the lottery folders, you can run from command/terminal

"python create.py" to initially create the neural network. This only needs to run once.

"python get_history.py" to grab historical data for that type of lottery from the internet into that working folder. This can be run whenever there's a new draw result for that lottery type.

"python run.py" to continually train the network and simulate to get output of simulation (numbers with probabilities) that you can use to play the lottery with. This process loops forever so Control-C to break out of it it'll save the network in file called "one.net" if "one.net" is corrupted by accident because of Control-C process, just copy "one.net.bk" over to "one.net".

Good luck.

UPDATE: I made a version for BC49 (might as well attach it here too for future reference) and OHIO Pick 3 Lottery.
Download
BC49.zip #
(205.41 KiB) Downloaded 279 times
OHIO3.zip #
Ohio lottery you gotta manually maintain history.csv because I couldn't find download history option online for it.
(72.75 KiB) Downloaded 244 times
Revised LOTTOMAX and BC49:
Download
BC49 (2).zip #
revised version reads from previous 2 draws
(175.18 KiB) Downloaded 249 times
LOTTOMAX_NN.zip #
revised version reads from previous 2 draws
(163.23 KiB) Downloaded 251 times

Python 2.7 32 bit was running into memory error (memory limit problems).
So I've updated the code to have deeper networks and used Python 3.6.4 (64bit).
Here are the revised code for Python 3.6.4
Download
649_NN.zip #
(241.59 KiB) Downloaded 314 times
BC49 (3).zip #
(199.92 KiB) Downloaded 264 times
LOTTOMAX_NN (3).zip #
(284.73 KiB) Downloaded 314 times
aka Tin

         

tim
GL Blogger

Post#2 by tim » 14 Apr 2019, 22:20


For Python 2.7
This will run looking at the last 365*2 draw results (you can edit that if you wish in the file [if you know what you're doing]).
LOTTERY_NN.zip #
(736.14 KiB) Downloaded 256 times
aka Tin

         

tim
GL Blogger

Post#3 by tim » 13 Oct 2019, 18:49


We've created Neural Network Systems for many major lotteries and pick-games using javascript brain.js.
You can find these tools on the TheLotteryForum.com's Lottery Neural Network Systems Index page.
aka Tin

         


TLF Topics: Active | Unanswered | Random
TLF Posts: Unread | New | Random
Lottery Forum
     Lottery/General Program Requests |🡆 Lottery Generators | Lottery CodeSkulptor Programs
     General Programs
     Chit Chat
Social:  Say Hello | Anything Goes | Shares

Locked Locked
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest