Machine learning and retail - a perfect match.