Derisking machine learning and artificial intelligence