Machine learning can help keep the global supply chain moving