Curvature-based Feature Selection with Application in Classifying Electronic Health Records