Skip to content

VedantBhosle31/Dream-11-Predication-Platfrom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dream11 Prediction app

Project Structure

├── README.md                   <- Project overview and usage instructions
├── data                       
│   ├── interim                
│   ├── processed             
│   └── raw                     
│       ├── cricksheet_data     
│       └── additional_data     
├── data_processing             
│   ├── data_download.py       
│   └── feature_engineering.py  
├── docs                       
│   └── video_demo

├── model                       <- Modeling scripts for training and prediction
│   ├── train_model.py          <- Model training script
│   └── predict_model.py        <- Prediction script with trained models
├── model_artifacts             <- Storage for trained models
├── out_of_sample_data          
├── Backend
└── Fronend                          

Frontend

For the product UI we are using React use the Following .env by adding contents given in the .env.sample we have shared a link of backend that we have hosted. This help you use the fronted even if you backend in not working.

Now to use the frontend you should install Node.js 20.10.0

if you have node js on you device you can verify it by running node -v.

Then navigate to frontend folder Install the dependencies

cd frontend
npm i
npm start

Now you will have a frontend running the one the port 3000

Backend

Download the appropriate version of Python 3.12.

Naviate to the backend folder and install required packages

cd backend
pip install venv
python -m venv venv

Appropriately activate the virtual environment. For Windows

.\venv\Scripts\activate

For Linux

source venv/bin/activate

Make .env by adding contents given in the .env.sample

\\ env.sample
DATABASE_URL=""
GROQ_API_KEY=""

we have shared a link of Database and a GROQ key for your assistance that we have hosted. This help you use the fronted even if you backend in not working.

Then we migrations

python manage.py makemigrations

python manage.py migrate

And start the Server

python manage.py runserver

Model UI

Download the appropriate version of Python 3.12.

Navigate to the model folder

cd model
pip install venv
python -m venv venv

Appropriately activate the virtual environment. For Windows

.\venv\Scripts\activate

For Linux

source venv/bin/activate

Download all the required packages

pip install -r requirements.txt

Then run the streamlit

streamlit model_ui_app.py

Data download

There are download scripts given in the data processing folder

python __.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6