Skip to content

Enhancing Decision Making and Prediction Optimization using the HybridFlow Forecast Model

Notifications You must be signed in to change notification settings

Nitin-Sagar-B/flowscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

🌐 FlowScope

Enhancing Decision Making and Prediction Optimization using the HybridFlow Forecast Model

You can access the live demo of the app hosted on Streamlit's Community Cloud using the link: https://flowscope.streamlit.app/

📖 Overview

FlowScope is an advanced web application designed to improve decision-making and prediction accuracy for web traffic analysis using the HybridFlow Forecast Model. The model combines several state-of-the-art time series forecasting techniques, including ARIMA, SARIMA, ETS, and LSTM, to deliver robust and accurate predictions. This project is particularly focused on the analysis and forecasting of web traffic, allowing businesses to make data-driven decisions to optimize their operations.

✨ Features

  • 🔗 HybridFlow Forecast Model: Integrates multiple forecasting models (ARIMA, SARIMA, ETS, LSTM) to enhance prediction accuracy.
  • 📁 Customizable Inputs: Allows users to upload their dataset, specify relevant columns, and configure model parameters.
  • 📊 Interactive Dashboard: Provides an intuitive and user-friendly interface for visualizing raw data, model predictions, and evaluation metrics.
  • 📈 Model Evaluation: Offers comprehensive performance metrics (MAE, MSE, RMSE, MAPE) for both testing and future predictions.
  • 🔮 Future Predictions: Generates and visualizes future time series predictions based on the trained models.
  • 📤 Export Functionality: Enables users to export the prediction results to a CSV file.

🛠️ Installation

To run FlowScope locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/your-username/flowscope.git
  2. Navigate to the project directory:
    cd flowscope
  3. Install the required dependencies:
    pip install -r requirements.txt

🚀 Usage

  1. Run the Streamlit application:
    streamlit run app.py
  2. Open the application in your web browser (usually http://localhost:8501).

🗂️ Application Flow

Preprocessing Data

  • 📥 Data Upload: Users upload their time-stamped dataset in CSV format.
  • 🧹 Data Cleaning: Missing values are filled with the mean of the column, and the data is sorted by the timestamp.

Model Training and Predictions

  1. 🔢 ARIMA: Suitable for short-term forecasting of stationary data.
  2. 📅 SARIMA: Ideal for capturing seasonal patterns and long-term trends.
  3. 🔄 ETS: Models error, trend, and seasonality without requiring differencing.
  4. 🧠 LSTM: Captures long-term dependencies and non-linear relationships in the data.

Evaluation and Visualization

  • 📊 Model Evaluation: Calculates MAE, MSE, RMSE, and MAPE for each model on the testing data.
  • 🔮 Future Predictions: Generates predictions for future time steps and evaluates model performance.
  • 📉 Visualizations: Displays actual vs. predicted values and future predictions using interactive charts.

🤝 Contributors

Developers and Innovators

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgements

This project was developed as part of a research initiative at BVRIT, Narsapur. Special thanks to our mentors and colleagues for their support and guidance.