- Python 3.8+
- Node.js 14+
- Docker
- Google Cloud account
-
Navigate to the Flask directory:
cd src/Flask
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask application:
flask run
-
Navigate to the React directory:
cd src/React
-
Install the dependencies:
npm install
-
Start the React application:
npm start
Each forecasting model has its own subdirectory under src/Forecasting
. Follow the instructions in the respective README.md
files to set up and run each model.
-
Navigate to the Tensorflow_LSTM directory:
cd src/Forecasting/Tensorflow_LSTM
-
Install the required packages:
pip install -r requirements.txt
-
Run the model script:
python model.py
-
Navigate to the Prophet directory:
cd src/Forecasting/Prophet
-
Install the required packages:
pip install -r requirements.txt
-
Run the model script:
python model.py
-
Navigate to the StatsModel directory:
cd src/Forecasting/StatsModel
-
Install the required packages:
pip install -r requirements.txt
-
Run the model script:
python model.py
-
Build the Docker images for the Flask and React applications:
docker build -t flask-app ./src/Flask docker build -t react-app ./src/React
-
Push the Docker images to Google Container Registry:
docker tag flask-app gcr.io/your-project-id/flask-app docker tag react-app gcr.io/your-project-id/react-app docker push gcr.io/your-project-id/flask-app docker push gcr.io/your-project-id/react-app
-
Deploy the applications on Google Cloud using Kubernetes or Cloud Run. Follow the respective Google Cloud documentation for detailed steps.
The final report provides a comparative analysis of the forecasting models (TF/Keras/LSTM, Prophet, StatsModel). The recommendation for the best time-series forecasting model is based on the experimental results obtained.
For any questions or feedback, please contact:
- Vishal Gawade: [email protected]
- Shlok Chaudhari: [email protected]
- Mihira Gudimetla: [email protected]