How ahmad-alam/lottery-prediction works
This repository documents two notebook-based lottery prediction projects: Mega Millions and Powerball. Each uses historical draw data to prepare features, train a bidirectional LSTM, and generate predictions with a rolling window and post-processing. The README documents this workflow, but no notebook source excerpts were provided, so the relationships below reflect documented behavior rather than inspected implementation details.
Main entry points: MegaMillions.ipynb Mega Millions notebook · Powerball.ipynb Powerball notebook · megamillions.csv Mega Millions draws · powerball.csv Powerball draws
Components 8
Lottery projects
- Mega Millions notebook
MegaMillions.ipynb - Powerball notebook
Powerball.ipynb
Prediction workflow
- Data preprocessing
- LSTM training
- Prediction
Historical data
- Mega Millions draws
datasets/megamillions.csv - Powerball draws
datasets/powerball.csv
Other components
- Notebook user
Connections 8
- Notebook user → Mega Millions notebook: runs
README.md - Notebook user → Powerball notebook: runs
README.md - Mega Millions draws → Data preprocessing: loads
README.md - Powerball draws → Data preprocessing: loads
README.md - Mega Millions notebook → Data preprocessing: performs
README.md - Powerball notebook → Data preprocessing: performs
README.md - Data preprocessing → LSTM training: prepares data
README.md - LSTM training → Prediction: enables inference
README.md