parrot vs machine learning algorithm