Skip to content

fglend/UPMO-ML

Repository files navigation

🧠 Sales Data Analysis & Forecasting

This project applies machine learning to analyze historical sales data. It aims to forecast future sales, classify demand trends, detect anomalies, cluster similar items, and uncover seasonal patterns using Python.


📌 Project Goals

Goal Machine Learning Type Example
Forecast future sales Time Series Forecasting Predict Jan 2024 sales
Classify demand trend Classification Will demand increase or decrease?
Detect anomalies Anomaly Detection Flag sudden spikes or drops
Cluster similar items Clustering Group items with similar sales patterns
Analyze seasonality/trends Time Series Decomposition (Unsupervised) Detect monthly or seasonal cycles

🗂 Project Structure

.
├── prophet_forecasts/  # Collection of Prophet Model Predictions
├── rf_forecast_plots
├── requirements.txt    # Dependencies
├── .gitignore          # Git ignore file
└── README.md           # Project documentation

🛠️ Setup Instructions

1. Clone the Repository

git clone https://github.com/fglend/UPMO-ML.git
cd UPMO-ML

2. Create and Activate Virtual Environment

python3.9 -m venv venv
source venv/bin/activate        # On Windows: venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Launch Jupyter

jupyter notebook

📦 Dependencies

See requirements.txt for exact versions.

  • pandas
  • numpy
  • matplotlib, seaborn
  • scikit-learn
  • prophet
  • statsmodels
  • tslearn
  • pyod
  • jupyter

🧪 Example Use Cases

  • Visualizing sales trends across months or years
  • Forecasting item-level sales for the next quarter
  • Detecting stock anomalies due to unusual sales behavior
  • Grouping SKUs by seasonal demand patterns
  • Identifying products with consistent growth or decline

🐍 Python Version

  • Python 3.9.6

🤝 Contributing

Feel free to fork this repo and submit pull requests. If you spot issues or have ideas, open a GitHub issue!


📄 License

This project is open source and available under the MIT License.

About

UPLB-UPMO OJT ML Tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published