Using machine learning, researchers identified distinct patterns of coordinated activity between parts of the brain in people with major depressive disorder, which could lead to improved diagnosis and treatment.