Seol mar théacs é seo: Use of machine learning algorithms for diagnosis and treatment of psychological pathologies