PyCaret Time Series: Forecast Dynamic ETAs for Logistics

The last post predicted single-truck delays (RMSE 1.15 hours). Now I’ll transform that same freight_delays.csv into time series data—forecasting next week’s ETAs as traffic surges, monsoons hit, and festival demand spikes. Using PyCaret.ts, we’ll capture hourly seasonality and deliver production-ready predictions with 85% confidence intervals, all in 10 lines of…

Continue reading

PyCaret for Logistics Delays

PyCaret makes logistics AI accessible, tackling e-commerce delays without complex coding. This step-by-step guide uses a simple freight dataset to predict delivery delays in under 10 minutes. E-commerce growth and driver shortages create urgent needs for accurate ETA predictions in trucking. PyCaret automates everything—preprocessing, model selection, tuning—so beginners get pro…

Continue reading

ETA Failures: How AI Fixes Itself

Waiting for a ride or food delivery can be frustrating when the app suddenly changes the estimated arrival time from 20 minutes to 45 minutes. Behind the scenes, AI systems use large models and data from traffic, weather, and past trips to make these predictions. However, unexpected events and imperfect…

Continue reading

Agentic AI

Agentic AI is a new kind of artificial intelligence designed to think and act on its own to achieve complex goals. Unlike traditional AI, which typically follows set rules or responds to specific commands, agentic AI makes decisions, plans its actions, completes tasks, and learns from the results—all without needing…

Continue reading

How LLMs Actually Learn to Predict ETA: Inside the Black Box

This post explores how LLM-driven systems transform simple travel predictions into something intelligent, accurate, and responsive. Classic ETA systems rely on basic formulas: distance, average speed, maybe a historical table showing usual delays. These approaches are serviceable in predictable conditions but often fall short. Unexpected traffic jams, road closures, unusual…

Continue reading

Prompt Injection Attacks

Prompt injection attacks are a growing problem in AI tools like chatbots and language models. They happen when someone adds or “injects” extra instructions or harmful content into a prompt to manipulate the AI. Learning how to protect AI systems from these attacks is important for anyone who builds or…

Continue reading