Keerthik1622 / truck-delay-prediction
PublicEnd-to-end Machine Learning pipeline for Truck Delay Prediction using XGBoost, Flask API, MLflow, and Lightning AI deployment.
This is a machine learning system that predicts whether truck deliveries will arrive late. It learns from historical shipment data to identify patterns—like how weather, traffic, truck age, driver experience, and route type influence delays. Once trained, it provides instant predictions with confidence scores, helping logistics managers make proactive decisions about which shipments need attention.
How It Works
You hear about a prediction tool that can tell you which truck shipments will arrive late, helping you plan better.
You download the project and install the tools needed to run it on your computer.
Connect to your existing MySQL and PostgreSQL databases containing your shipment and route records.
Use the built-in demo data to test everything without setting up any databases yet.
The pipeline studies thousands of past shipments and figures out what factors lead to delays—like weather, traffic, or driver experience.
With one command, you start a web service that listens for prediction requests from your team or other systems.
You send shipment details—like distance, truck type, cargo weight, weather, and traffic—and instantly get back a prediction with confidence level.
You can now identify high-risk shipments before they happen, reroute trucks, or alert customers proactively.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.