Domain-guided representations are superior for machine learning in healthcare