Skip to content

GoAmeer030/Colour-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Predictor

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.

Getting Started

Prerequisites

  • Python 3.11.x
  • Necessary Python packages (mentioned in requirements.txt)

Installation

  1. Clone this repository.
  2. Install the required Python packages by running:
    pip install -r requirements.txt

Usage

Scraper (scrape.py)

  • 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.

Model Training (model.ipynb)

  • The *.ipynb notebooks in ipynb contains the code to train a predictive model using the collected data.
  • Follow the instructions in the notebook to train and save the model.

Models

  • 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

Screenshots

ss1 ss2 ss3 ss4

Important Notices and Cautions

  • 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.

Disclaimer

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.