This project allows users to collect data from a color prediction trading or gambling sites using a scraper and build a predictive model to forecast colors in a color prediction game. Additionally, a pre-trained model is available for direct use along with a prediction script.
- Python 3.11.x
- Necessary Python packages (mentioned in
requirements.txt
)
- Clone this repository.
- Install the required Python packages by running:
pip install -r requirements.txt
- The files in
scrappers
facilitates data scraping from the gambling site. - It requires valid login credentials and allows modification of XPATH values for site compatibility.
- Run the scraper using:
python scrape.py | python req_scrape.py
- The collected data is saved in
data.csv
.
- The
*.ipynb
notebooks inipynb
contains the code to train a predictive model using the collected data. - Follow the instructions in the notebook to train and save the model.
- I have attached few of the model i trained which can be found in models directory
- Check the below screenshot or the notebooks for training parameters and performance
- Educational Purpose Only: This project is for educational purposes only to showcase machine learning capabilities and is not meant for actual gambling or financial investment.
- Accuracy Disclaimer: The provided model has limited accuracy (color: ~45-50%, number: ~15-20%). Users are responsible for their actions when using this model for any gambling purposes.
- Site Policy Compliance: Using this tool may violate the gambling site's policies and result in a permanent ban.
- Financial Caution: The developer takes no responsibility for financial losses or consequences resulting from the use of this project.
This project and its components are meant for educational purposes only. Users are advised to comply with all laws and regulations applicable in their respective regions.
For detailed instructions and code explanations, refer to individual files in the repository.