The Gravity-Roulette Predictor is a desktop application designed to assist in making speculative next-bet predictions for the roulette game, focusing on the simple outcomes:
- 🔴 Red
- ⚫ Black (referred to as White in some contexts)
- 🟢 Zero (Green)
The application employs a dual-analysis approach:
- A simple pattern-based heuristic (Gambler’s Fallacy logic).
- A more sophisticated LSTM (Long Short-Term Memory) machine learning model that searches for possible non-random patterns in historical spin data.
All spin data is persistently stored in an external Excel file.
- Performs a quick analysis of the last 20 spins.
- Recommends a color only when one outcome is significantly underrepresented.
- Bias threshold: ≥ 4 difference between color counts.
- Uses a sequence-based neural network to predict the next probable color.
- Trains on the entire recorded history for accuracy and consistency.
- All spin results (number, color, timestamp) are saved to and loaded from
roulette_history.xlsx.
- Fixed random seeds ensure consistent predictions across restarts with identical data.
- Heavy ML training runs in separate scripts to keep the GUI responsive and smooth.
Before running the application, ensure you have Python installed, then install the required libraries:
pip install pandas openpyxl numpy tensorflow scikit-learn