Skip to main content

Question

Problem 6.2 BDR for regression

In this problem, we will consider the Bayes decision rule for regression. Suppose we have a regression problem, where yRy \in \mathbb{R} is the output, xRdx \in \mathbb{R}^d is the input, and we have already learned the distribution p(yx)p(y|x), which maps the input xx to a distribution of outputs yy. The goal is to select the optimal output yy for a given xx.

(b) One generalization of the squared-loss function is the Minkowski loss, Lq(g(x),y)=g(x)yq.(6.2)L_q(g(x), y) = |g(x) - y|^q. \quad (6.2) Plot the loss function LqL_q versus (g(x)y)(g(x) - y) for values of q{0.2,1,2,10}q \in \{0.2, 1, 2, 10\} and q0q \rightarrow 0. Comment on the effect of using different loss functions.