A machine-learning algorithm can predict who is most likely to respond best to an antidepressant by analysing the brain activity of people with depression