Logo Lanfrica

Pysham0n/Sales-Forecast-MlOps

Domain:

socioeconomic

Record type:

project
Creator:
Pys
Host:
In this project, we developed a multivariate forecasting solution to predict sales for a major Tunisian company. The dataset was initially unstructured, stored in scattered Word documents, requiring extensive data cleansing, transformation, and normalization to prepare it for analysis. # πŸ“Š Problem Overview The original dataset was unstructured and scattered across multiple Word documents. This required: - πŸ“Œ **Data cleansing and transformation** - πŸ“Œ **Normalization and unification** for analysis-ready formatting --- # Workflow # 🧠 Multivariate Sales Forecasting with Full MLOps Pipeline ## πŸ” Time Series Analysis We performed a full time series analysis, including: - πŸ“ˆ **Stationarity testing** - πŸ” **Trend and seasonality detection** We experimented with multiple **Machine Learning** and **Statistical models**: - **Support Vector Machine (SVM)** - **Linear Regression** - **Vector Auto Regression (VAR)** --- ## πŸš€ MLOps Pipeline Implementation Once the optimal model was selected, we built and deployed a **full MLOps pipeline**, as illustrated in the diagram. ### πŸ”„ Data Versioning & Experiment Tracking - `DVC` - `MLflow` - `DAGsHub` ### βœ… Model Testing & Validation - `Deepchecks` - `Pytest` ### 🧩 API Development & Deployment - `FastAPI` - `Docker` - `Amazon ECR` - `AWS ECS` - `Elastic Load Balancer (ELB)` ### πŸ“‘ Monitoring & Drift Detection - `Arize AI` ### πŸ“Š Visualization & Reporting - `Streamlit` - `GitHub Pages` ### βš™οΈ CI/CD Automation - `GitHub Actions` --- ## βœ… Outcomes This pipeline enabled: - ⚑ **Scalable deployment** - πŸ› οΈ **Continuous monitoring** - πŸ“¦ **Reproducibility & transparency** - πŸ” **Rapid model iteration** --- ## πŸ“Ž Tools & Technologies | Category | Tools Used | |--------------------------|----------------------------------------------------------------------------| | Data Handling | Python, Pandas, NumPy | | Modeling | SVM, Linear Regression, VAR | | MLOps & Tracking | DVC, MLflow, DAGsHub | | Testing & Validation | Deepchecks, Pytest …