├── 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
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 startNow you will have a frontend running the one the port 3000
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 venvAppropriately activate the virtual environment. For Windows
.\venv\Scripts\activateFor Linux
source venv/bin/activateMake .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 migrateAnd start the Server
python manage.py runserverDownload the appropriate version of Python 3.12.
Navigate to the model folder
cd model
pip install venv
python -m venv venvAppropriately activate the virtual environment. For Windows
.\venv\Scripts\activateFor Linux
source venv/bin/activateDownload all the required packages
pip install -r requirements.txtThen run the streamlit
streamlit model_ui_app.pyThere are download scripts given in the data processing folder
python __.py