Artificial intelligence may soon play a critical role in choosing which depression therapy is best for patients.