Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.