Setup video in docs/.
python -m venv env
source env/bin/activatepip install -r requirements.txt- Navigate to the
model/directory:cd model - Start the Model API:
python model_API.py
- Open a new terminal with the same virtual environment activated.
- Run the Squads API:
python Squads_API.py
- Open a new terminal with the same virtual environment activated.
- Run the Aggregate Stats API:
python Aggregate_stats_API.py
- Open a new terminal with the same virtual environment activated.
- Navigate to the
model/directory:cd model - Start the Streamlit app:
streamlit run app1.py
npm install --global yarncd UIyarn installyarn devOpen your browser and navigate to:
http://localhost:3000
model/: Contains all the logic for the methodology implemented and other experiments.data_preprocessing/: Handles data cleaning, transformation, and preparation.UI/: Contains the Product UI providing an interactive experience to predict the optimal team.
Ensure you have the following installed:
- Python (version specified in
requirements.txt) - Node.js (latest stable version)
- Yarn (latest stable version)
Refer to the Product UI README for detailed instructions.
Steps (summary):
- Install Yarn if not already installed:
npm install --global yarn
- Navigate to the
UI/folder:cd UI - Install dependencies:
yarn install
- Start the development server:
yarn dev
- Access the UI in your browser at:
http://localhost:3000
Refer to the Model README for detailed instructions.
Refer to the Data Preprocessing README for instructions on data preprocessing.
