Question

Suppose you are given the true data generating distribution, D, for a binary classification problem (so...

Suppose you are given the true data generating distribution, D, for a binary classification problem (so the true output y is either +1 or 1).

(a) If your loss is absolute loss (|y f (x)), is the Bayes optimal classifier still optimal? Explain your reasoning or show a counterexample.

(b) If your loss is squared loss ((y f (x))2), is the Bayes optimal classifier still optimal? Explain your reasoning or show a counterexample.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(Assuming that true output is either 1 or -1)

As you are doing binary classification, loss functions like absolute loss and squared loss should not be chosen because of the fact that these functions are used to minimize the difference between true values and predicted values and thus should be used in the regression problems. If you are going to use these loss functions for classification purposes they will not give an accurate measure about how your model is performing on the given dataset.

Add a comment
Know the answer?
Add Answer to:
Suppose you are given the true data generating distribution, D, for a binary classification problem (so...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 3. Suppose for a binary classification problem that you have a data set of 50 examples,...

    3. Suppose for a binary classification problem that you have a data set of 50 examples, evenly split between positive and negative examples. If leave-one-out cross-validation is used, how will a simple majority classifier perform? Such a classifier outputs the class that is in the majority in the training set, regardless of the input. Please explain.

  • Suppose the joint probability distribution of two binary random variables X and Y are given as...

    Suppose the joint probability distribution of two binary random variables X and Y are given as follows. x/y 1 2 0 3/10 0 1 4/10 3/10 X goes along side as 0 and 1, Y goes along top as 1 and 2. a) Show the marginal distribution of X. b) Find entropy H(Y ). c) Find conditional entropy H(X|Y ) and H(Y |X). d) Find mutual information I(X; Y ). e) Find joint entropy H(X, Y ). f) Suppose X...

  • Suppose the joint probability distribution of two binary random variables X and Y are given as...

    Suppose the joint probability distribution of two binary random variables X and Y are given as follows. X/Y 1 0 1 2 1 4 0 + 1 (a) Show the marginal distribution of X. [2pts] (b) Find entropy H(Y). [2pts] (e) Find conditional entropy H(XY). (3pts] (d) Find mutual information I(X;Y). [3pts] 2 (e) Find joint entropy H(X,Y). (3pts) Note: The following three proofs are not related to the example in parts (a - e). You need to prove each...

  • 1. (50 points) Suppose X1, ..., Xn form a random sample from a N(u,02) distribution with...

    1. (50 points) Suppose X1, ..., Xn form a random sample from a N(u,02) distribution with p.d.f. Fe 202, for – V2110 <x< . Assume that o = 2 is known. a) (10 points) Derive the 90% confidence interval for u that has the shortest length. You must show all details including the pivot you use. b) (8 points) Show that the sample mean is an efficient estimator for u. Assume in (c)- (f) that the prior distribution of u...

  • 1. Generating the sampling distribution of the mean Аа Аа Suppose you use sampling techniques to...

    1. Generating the sampling distribution of the mean Аа Аа Suppose you use sampling techniques to estimate the mean of the numbers 1, 2, 3, 4, 5, 6, 7, and 8. To do this, you perform an experiment in which you roll an eight-sided die two times (or equivalently, roll two eight-sided dice one time) and calculate the mean of your sample The true mean (u) of the numbers 1, 2, 3, 4, 5, 6, 7, and 8 is and...

  • 1. Suppose you have two random variables, X and Y with joint distribution given by the...

    1. Suppose you have two random variables, X and Y with joint distribution given by the following tables So, for example, the probability that Y o,x - 0 is 4, and the probability that Y (a) Find the marginal distributions (pmfs) of X and Y, denoted f(x),J(Y). (b) Find the conditional distribution (pmf) of Y give X, denoted f(YX). (c) Find the expected values of X and Y, EX), E(Y). (d) Find the variances of X and Y, Var(X),Var(Y). (e)...

  • please explain 4.1) (10 pts) Suppose that X and Y have the joint probability distribution shown...

    please explain 4.1) (10 pts) Suppose that X and Y have the joint probability distribution shown in the table, find (a) the marginal distribution of X and call it f1, (b) the marginal distribution of Y and call it f2, (c) f(YIX=2), (d) determine if X and Y are independent or not. Throughout, show your work. f(X,Y) 2 4 у 1 3 0.12 0.38 0.27 0.04 0.12 0.07 |

  • Can you explain how to solve this problem. Thank you so much. 6. Suppose Z~ N(0,1)...

    Can you explain how to solve this problem. Thank you so much. 6. Suppose Z~ N(0,1) and Y = e. a) Find the edf F(u) and pdf f() for Y. Note that for the edf F(y), you can't obtain a closed form - the best you can do is to write it in terms of, odf of the standard normal distribution. b) Express the 0.33 quantile of Z and the 0.9 quantile of Y in term of 0-1 c) Find...

  • In this problem, you’ll use brute force search to find an optimal answer. Suppose you’ve been...

    In this problem, you’ll use brute force search to find an optimal answer. Suppose you’ve been tasked to design a normal, rectangular building, unlike Luddy, that has a loss of heat given by: f(x, y, z) = 11xy + 14yz + 15xz where the variables x, y, z are the three dimensions. We want to have a building with minimalheat loss. Suppose the volume of the building is 147,840ft3 ; in other words: xyz = 147840 Although we can solve...

  • Simple Probability Question, Please explain with details, thank you so much. Suppose that the cumulative distribution...

    Simple Probability Question, Please explain with details, thank you so much. Suppose that the cumulative distribution function of the discrete random variable X is given by x V < 0 1L F(x) = { 1 +71 051 x < 2 1 VI Find P{X = 1}, P{X = 2}, P{X = 3} o 1, 11,1 OZ, ÉS 0 ];j; oh, o 12 Find P (} < X < ;) оооо Consider the following two functions S c(2x – 2y) 0...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT