Machine Learning Technique Could Aid Mental Health Diagnoses: Study