Inside an Amazon warehouse, when an order gets ready to ship, a worker doesn’t just make a decision about what package seems best. Instead, a suite of machine-learning tools analyze the combination of ...