This miracle took three leaps to complete. The first was from simple algorithms to ones that could adapt their objectives in light of the outcome of their activity – in other words, to reprogramme themselves (machine-learning was the technical term). The second leap replaced the standard computer hardware with exotic ‘neural networks’. The third and decisive leap infused neural networks with algorithms capable of ‘reinforcement-learning’.