Population modeling with machine learning can enhance measures of mental health