The good, the bad and the ugly of artificial intelligence and machine learning