Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petermatts/lotterysim
This repository was created to model popular lottery games through statistics and ML.
https://github.com/petermatts/lotterysim
machine-learning python simulation statistics
Last synced: 7 days ago
JSON representation
This repository was created to model popular lottery games through statistics and ML.
- Host: GitHub
- URL: https://github.com/petermatts/lotterysim
- Owner: petermatts
- Created: 2021-08-13T06:38:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T06:23:34.000Z (10 days ago)
- Last Synced: 2025-01-06T07:27:24.214Z (10 days ago)
- Topics: machine-learning, python, simulation, statistics
- Language: Python
- Homepage:
- Size: 471 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LotterySim
## Disclaimer
If anyone uses this repo and wins they would owe a cut to the creator of this project for helping them win. :)
## Running PowerBall
### Scraping the Drawing Data
From the directory ```/src/Powerball``` run ```.\scrape.bat``` (Windows only for now, MacOS will be ```./scrape.command``` or ```./scrape.sh```)
Or from that directory manually run ```python DrawingFreq.py``` and ```python DrawingHist.py```
### Running the Analysis
```python Analysis.py```
This will out put numbers to CSV files in accordance to their geometic probabilities based on when they were last drawn.
The files are called ```mainball.csv``` for the main balls and ```powerball.csv``` for the powerballs.
## Running MegaMillions
MegaMillions code and analysis has not yet been implemented. Come back soon.