# lottery-prediction-system **Repository Path**: ma-yongfan/lottery-prediction-system ## Basic Information - **Project Name**: lottery-prediction-system - **Description**: 双色球+大乐透彩票AI预测 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-12-05 - **Last Updated**: 2023-12-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 双色球+大乐透彩票AI预测 有问题,欢迎联系我(QQ: 1910719205) ## Installing * step1,安装anaconda(可参考https://zhuanlan.zhihu.com/p/32925500); * step2,创建一个conda环境,conda create -n your_env_name python=3.8; * step3,进入创建conda的环境 conda activate your_env_name,然后执行pip install -r requirements.txt; * step4,按照Getting Started执行即可,推荐使用PyCharm ## Getting Started ```python python get_data.py --name ssq # 执行获取双色球训练数据 ``` 如果出现解析错误,应该看看网页 http://datachart.500.com/ssq/history/newinc/history.php 是否可以正常访问 若要大乐透,替换参数 --name dlt 即可 ```python python run_train_model.py --name ssq # 执行训练双色球模型 ``` 开始模型训练,先训练红球模型,再训练蓝球模型,模型参数和超参数在 config.py 文件中自行配置 具体训练时间消耗与模型参数和超参数相关。 ```python python run_predict.py --name ssq # 执行双色球模型预测 ``` 预测结果会打印在控制台 ## Update