FortuneTellerAI is a machine learning project aimed at predicting Powerball lottery numbers. This project utilizes various machine learning models to analyze historical Powerball data and make predictions for future draws.
Disclaimer: This project is for educational purposes only and should not be used for actual lottery predictions or any form of gambling. The lottery is a game of chance, and there is no reliable method to predict the outcome of the draws.
- Predicts Powerball lottery numbers using Random Forest Regressor.
- Feature engineering to improve prediction accuracy.
- Ensures predicted numbers are unique and within valid ranges.
- Python 3.x
- pandas
- numpy
- scikit-learn
-
Clone the repository:
git clone https://github.com/yourusername/FortuneTellerAI.git cd FortuneTellerAI
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Prepare your data:
- Ensure you have a
powerball_numbers.csv
file in the project directory containing historical Powerball data with columns for each number and the Powerball.
- Ensure you have a
-
Run the main script:
python PowerballPredictor.py
-
The script will output predicted numbers for the next Powerball draw.
draw_number,number1,number2,number3,number4,number5,number6,number7,powerball
1,5,10,15,20,25,30,35,7
2,4,9,14,19,24,29,34,12
3,1,6,11,16,21,26,31,5
4,2,7,12,17,22,27,32,10
5,3,8,13,18,23,28,33,15
Contributions are welcome! Please create an issue to discuss your ideas or submit a pull request.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
This project is for educational purposes only and should not be used for actual lottery predictions or any form of gambling. The lottery is a game of chance, and there is no reliable method to predict the outcome of the draws.