The online retailer embraces machine learning