Supply Chain Management - ML - FA - DA Project
Supply Chain Management - ML - FA - DA Project
Dataset : Dataset is available in the given link. You can download it at your convenience.
About Dataset
Supply chain analytics is a valuable part of data-driven decision-making in various industries such as
manufacturing, retail, healthcare, and logistics. It is the process of collecting, analyzing and interpreting
data related to the movement of products and services from suppliers to customers.
Here is a dataset we collected from a Fashion and Beauty startup. The dataset is based on the supply
chain of Makeup products. Below are all the features in the dataset:
● Product Type
● SKU
● Price
● Availability
● Number of products sold
● Revenue generated
● Customer demographics
● Stock levels
● Lead times
● Order quantities
● Shipping times
● Shipping carriers
● Shipping costs
● Supplier name
● Location
● Lead time
● Production volumes
● Manufacturing lead time
● Manufacturing costs
● Inspection results
● Defect rates
● Transportation modes
● Routes
● Costs
Project Overview
● Date
● ProductID
● HistoricalSales
● Promotion
● Price
● Weather (if applicable)
● EconomicIndicators (if applicable)
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.metrics import mean_squared_error
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
Final Report
1. Overview
2. Data Preprocessing
3. Model Building
5. Model Deployment
● The trained model was saved and can be loaded for future predictions.
● An example prediction was made using new data, demonstrating the
model's capability.
This project plan outlines the steps to implement a demand forecasting model for
supply chain management using machine learning, complete with data
preparation, model building, evaluation, and deployment.
Sample report
You are going to see different types of plots I have used . Feel Free to explore
them
Streamlit Dashboard:
To complement the exploratory data analysis, I have created an interactive Streamlit dashboard. The dashboard
provides real-time visualization and analysis of the supply chain data, making it easier to identify trends, patterns,
and areas for improvement.
Objectives:
● Data Exploration: Gain insights into the supply chain data by exploring production volumes, stock levels,
order quantities, revenue, costs, lead times, shipping costs, transportation routes, risks, and sustainability
factors.
● Visualization: Create informative visualizations to better understand the relationships and distributions
within the data.
● Dashboard Development: Build an interactive Streamlit dashboard to visualize the key metrics and
facilitate real-time analysis.
Key Sections:
1. Data Preprocessing
● Handling missing values.
● Data cleaning and preparation.
2. Exploratory Data Analysis (EDA)
● Descriptive statistics.
● Visualization of key metrics.
3. Visualizations
● Production volumes, stock levels, and lead times.
● Revenue distribution by location.
● Manufacturing costs by supplier.
● Comparison of price and manufacturing costs by product type.
● Relationship between production volume, stock levels, and order quantities.
● Distribution of shipping costs by shipping carriers.
● Average lead time by product type.
● Transportation routes and their frequency.
● Supply chain risk distribution by risk factors.
● Sustainability factors in the supply chain.
4. Streamlit Dashboard
● Introduction to the interactive dashboard.
● Instructions on how to access and use the dashboard.
● Link to the deployed Streamlite dashboard.
Reference link