Statistical Learning from a Regression Perspective