mlcourse icon indicating copy to clipboard operation
mlcourse copied to clipboard

Show empirical risk function and true risk for 1-dim linear regression

Open davidrosenberg opened this issue 8 years ago • 0 comments

For 1-dimensional linear regression, there are 2 parameters so we can view the empirical risk function for varying amounts of data and the risk function as 3D plots and as contour plots. Suppose true distribution is X uniform on [0,1], y = 2x + N(0,SD=2).

Concept check question: what's the bayes risk for square loss?

davidrosenberg avatar Jan 15 '17 06:01 davidrosenberg