Skip to content

Python-based supplier performance analysis using lead time, quality, delivery, and cost metrics.

Notifications You must be signed in to change notification settings

parniariazat/supplier-performance-analysis-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supplier Performance Analysis (Python)

Project Overview

This project evaluates and ranks suppliers based on multiple operational performance criteria. The goal is to demonstrate a simple, data-driven approach to supplier selection using Python.

The analysis considers four key performance indicators:

  • Lead time
  • Delay rate
  • Defect rate
  • Unit price

A weighted scoring model is used to compute an overall supplier score and produce a ranking.


Dataset

The dataset includes 10 suppliers with the following variables:

Variable Description
supplier Supplier name
lead_time_days Average delivery lead time
delay_rate Percentage of delayed orders
defect_rate Percentage of defective units
unit_price Price per unit

The dataset is synthetically generated to simulate a realistic procurement scenario.


Methodology

1. Normalization

All criteria are cost-type metrics (lower values indicate better performance).
Min–max normalization is applied so that all scores fall between 0 and 1.

Normalized score:

(max value − actual value) / (max value − min value)


2. Weighting Scheme

Criterion Weight
Lead time 30%
Delay rate 25%
Defect rate 25%
Unit price 20%

The weighting reflects a slightly higher emphasis on delivery performance compared to cost.


3. Supplier Score

The final supplier score is calculated as a weighted sum:

Supplier Score = (Lead time score × 0.30) + (Delay score × 0.25) + (Defect score × 0.25) + (Price score × 0.20)

Suppliers are then ranked based on this final score.


Key Result

The model identified Supplier_2 as the top-performing supplier, showing the best overall balance between:

  • Delivery speed
  • Reliability
  • Quality
  • Cost

This demonstrates how multi-criteria scoring can support structured and data-driven supplier selection.


Files

  • supplier_analysis.py → main analysis script
  • data/ → input dataset
  • outputs/ → results and charts

Tools Used

  • Python
  • pandas
  • numpy
  • matplotlib
  • Excel

How to Run

  1. Install dependencies: pip install -r requirements.txt

  2. Run the analysis: python supplier_analysis.py

Outputs will be saved in: outputs/


Author

Parnia Riazat

About

Python-based supplier performance analysis using lead time, quality, delivery, and cost metrics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages