Predictive analytics for logistics