Skip to content

Lindiwe-22/Strait-of-Hormuz-Crisis-2026

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’οΈπŸš’ Strait of Hormuz Crisis 2026

How the US-Iran War Disrupted Global Oil Markets & Maritime Trade

Status Platform Language License


πŸ“Œ Project Overview

On 28 February 2026, US and Israeli forces conducted strikes on Iranian military infrastructure. In response, Iran closed the Strait of Hormuz β€” the world's most critical oil chokepoint β€” disrupting approximately 20% of global oil supply.

Within days, Brent crude surged from ~$77 to over $104/barrel, sending shockwaves through fuel prices across 14 countries and threatening the stability of global maritime trade.

This project investigates three interconnected research questions using data science, machine learning and geopolitical analysis:

# Research Question Approach
1 πŸ›’οΈ How severe was the oil price shock? Time series analysis of daily Brent & WTI prices
2 🌍 Which countries were hit hardest? Country-level vulnerability & economic impact analysis
3 🚒 What does this mean for global sea trade? Historical correlation + 3-scenario forecasting

πŸ”‘ Key Findings

Finding Result
Brent crude price surge +35.4% ($76.97 β†’ $104.25/barrel)
Strait of Hormuz status Closed/Restricted for 6 of 16 tracked trading days
Hardest hit country (fuel) Pakistan (+20.7% retail price increase)
Worst GDP contraction Iran (-8.0%) β€” despite being an oil producer
Highest maritime risk South Korea (57.5/100) and China (54.4/100)
ML model accuracy 88.9% (Gradient Boosting, StratifiedKFold CV)
Key ML insight GDP impact (81.1%) dominates vulnerability β€” not oil import dependency
Base case trade forecast -5.5% global sea trade volume decline in 2026

πŸ“Š Key Findings Gallery

πŸ›’οΈ Oil Price Shock

Oil Price Shock

🌍 Country Level Impact

Country Impact

πŸ“… War Timeline

War Timeline

🚒 Sea Trade Historical Patterns

Sea Trade Patterns

πŸ”— Correlation Analysis

Correlation

🎯 Composite Risk Scores

Risk Scores

πŸ“ˆ 2026 Forecast Scenarios

Forecast

πŸ€– ML Model β€” Feature Importance

ML Model

πŸ“‹ Intelligence Report

Intelligence Report

πŸ”‘ Key Findings Summary

Key Findings

πŸ’‘ Conclusions

Conclusions


πŸ—οΈ Project Structure

Strait-of-Hormuz-Crisis-2026/
β”‚
β”œβ”€β”€ πŸ““ Global_Oil_Maritime_Trade_Analysis.ipynb  ← Main notebook
β”œβ”€β”€ πŸ“‹ README.md                                  ← This file
└── πŸ“ key_findings/                              ← All chart outputs
    β”œβ”€β”€ chart_01_oil_price_shock.png
    β”œβ”€β”€ chart_02_country_impact.png
    β”œβ”€β”€ chart_03_war_timeline.png
    β”œβ”€β”€ chart_04_sea_trade_patterns.png
    β”œβ”€β”€ chart_05_correlation.png
    β”œβ”€β”€ chart_06_risk_scores.png
    β”œβ”€β”€ chart_07_forecast.png
    β”œβ”€β”€ chart_08_model.png
    β”œβ”€β”€ chart_09_intelligence_report.png
    β”œβ”€β”€ chart_10_key_findings.png
    └── chart_11_conclusions.png

πŸ“¦ Datasets

Dataset Source Coverage
Global Petrol Prices β€” US-Iran War 2026 Kaggle (zkskhurram) 14 countries, Feb–Mar 2026
Volume of Goods Transported by Sea Kaggle (fareselgohary003) 210 countries, 2000–2022

πŸ› οΈ Tech Stack

Languages & Environment

Python Google Colab Kaggle

Data & Analysis

Pandas NumPy SciPy

Machine Learning

Scikit-learn

Visualisation

Matplotlib Seaborn


πŸ““ Notebook Structure

Phase Description
πŸ”§ Phase 0 Setup & Configuration
πŸ“¦ Phase 1 Data Loading & Validation
πŸ” Phase 2 Exploratory Data Analysis (4 sub-sections)
πŸ”— Phase 3 Combined Analysis & Risk Scoring
πŸ€– Phase 4 Forecasting & ML Modelling
πŸ“Š Phase 5 Final Intelligence Report
πŸ’‘ Phase 6 Conclusions & Insights

πŸ€– Models Used

Model CV Accuracy Notes
Gradient Boosting 88.9% βœ… Selected as best model
Random Forest 70.0% Strong but lower CV score
Logistic Regression Baseline Lower performance

⚠️ Disclaimer

This project is produced for educational and portfolio purposes only.
It does not constitute financial, investment, or geopolitical advice.
All data sourced from publicly available datasets on Kaggle and the World Bank.


πŸ‘©πŸΎβ€πŸ’» Author

Lindiwe Songelwa Data Scientist Β· Developer Β· Insight Creator πŸ“ Gauteng, South Africa πŸ‡ΏπŸ‡¦

Platform Link
πŸ’Ό LinkedIn linkedin.com/in/lindiwe-songelwa
πŸ™ GitHub github.com/Lindiwe-22
πŸ… Credly credly.com/users/samnkelisiwe-lindiwe-songelwa
πŸ““ Kaggle kaggle.com/lindiwe22

Β© 2026 Lindiwe Songelwa Β· All rights reserved
Reproduction or redistribution without written permission is prohibited.

About

Data-driven intelligence analysis of the 2026 US-Iran War. Investigating how the Strait of Hormuz closure disrupted global oil prices across 14 countries and forecasting the impact on maritime trade volumes using World Bank data, ML modelling and 3-scenario forecasting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors