A new study at a container terminal uses machine learning to predict pre-clearance handling needs and cargo dwell times. Researchers implemented a classification system for cargo descriptions to clean historical operational data. These models help terminal operators reduce unproductive container moves. This is an incremental application of predictive analytics to logistics.