Skip to content

rithwik-01/ML-Driven-Routing-Decisions

Repository files navigation

ML-Driven Routing Decisions

A small Python project that uses a contextual bandit to pick the best POP (edge location) per request context to reduce latency.

What it does

  • Treats each POP as an “arm” and selects one per request.
  • Learns from feedback (RTT/latency + error penalties) to balance exploration vs exploitation.
  • Supports simple policies like LinUCB and Thompson Sampling.

Tech stack

Python, NumPy, pandas (scikit-learn for baselines), Matplotlib (plots)

Quick start

git clone https://github.com/rithwik-01/ML-Driven-Routing-Decisions.git
cd ml-driven-routing-decisions
pip install -r requirements.txt
python -m src.simulate --policy linucb

About

A small Python project that uses a contextual bandit to pick the best POP (edge location) per request context to reduce latency.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages