Lecture 4 Flashcards
What happens if we have outliers when we are using the mean?
the mean is pulled in the direction of outliers
What happens if we have outliers when we are using the median?
the median is robust to outliers
What are the mean and median relative to the distribution?
they are “balance points”
What minimizes the average L_infinity loss?
the midrange
As p approaches infinity, the minimizer of mean L_p loss approaches what?
the midpoint of the minimum and maximum values in the dataset
What does R_p(h) do as p approaches infinity?
minimizes the “worst case” distance from any data point
When is the midrange the best prediction?
if your measure of “good” is “not far from any one data point”
What is h* for 0-1 loss?
the mode
What is the equation for the simple linear regression model?
H(x) = w_0 + w_1x