Machine learning and the retail market