Lottery Prediction using TensorFlow and LSTM RNN
python rnn_lottery.py --data-path=/home/chris/workspace/rnn_lottery/data [--epoch= --batch-size= --no-use-cudnn-rnn ...]
python rnn_lottery.py --predictpath= --logdir= [--epoch= --batch-size= --no-use-cudnn-rnn ...]
tensorboard --logdir=/home/chris/workspace/rnn_lottery/savedmodel
-
run spider
python tools/spider_rnn_lottery_data.py
-
get txt from Mysql database
select numbers from rnnlottery into outfile '/var/lib/mysql-files/source.txt';
-
cut source.txt,get train.txt and valid.txt (default 4:1)
python tools/cutfile.py
Ubuntu 18.04
tensorflow 1.10.0
Python 2.7