Only retailers that understand the importance of advanced machine learning algorithms and big data will survive and thrive, one data science company has said, with investment in artificial intelligence key.