Understanding the bias-variance tradeoff