McKinsey used machine learning to discover the best way to teach science