A Semiparametric Approach to Interpretable Machine Learning