| Y | Ŷ | |
|---|---|---|
| 1 | 2.3 | 2.8 |
| 2 | −1.6 | −1.2 |
| 3 | 4.3 | 3.6 |
10:00
For each of the following scenarios identify:
Careful!! This is a Causality question. “What would happen if I were to set the price of the book at some value \(x\)?”
Careful again! This is a Causal Prediction question. As a prediction problem, it’s a regression because time should be modeled as a continuous variable. But it’s also causal because again your’re wondering “What would happen if I were to set the price of the book at some value \(x\)?”
Finally! This is a straight-up Prediction task. It’s a Regression because sale price should be modeled as a continuous variable.
This is a Prediction task. It’s a Classification task, because whether the car is real should be modeled as a discrete (Bernoulli) variable.
You fell for it again! This is not a Prediction task. It’s a Generalization task, because they’re estimating various population parameters (conditional means). These are hidden, non observable quantities.
This is a Prediction task. It’s a Regression task, because temperature is modeled as a continuous variable. Careful, the historical data isn’t a feature, it’s either the sample used to fit the model or some other miscellaneous info that will help with writinf down the model.
This is a Prediction task. It’s a Classification task, because whether the car is real should be modeled as a binary (Bernoulli) variable.
Careful! This is a Prediction task. Althout this thing was written 2200 years ago, we are still “predicting” the value of an unseen random variable (the missing letter). It’s a Classification task, because a letter from the Coptic alphabet is a nominal categorical variable.
Small. MSE measures error!
01:00
| Y | Ŷ | |
|---|---|---|
| 1 | 2.3 | 2.8 |
| 2 | −1.6 | −1.2 |
| 3 | 4.3 | 3.6 |
\(\widehat{\mbox{MSE}} = \frac1{3} \left((-0.5 \, kg)^2 +(-0.4 \, kg)^2 +(0.7 \, kg)^2 \right) = 0.3 \, kg^2\)
\(X_1\) on the left seems more strongly associated with \(Y\) than \(X_2\) is.
Roughly 3-ish kg using \(X_1\) and roughly 7-ish kg using \(X_2\) depending on where you look on the \(x\)-axis.
f.What will the following line of code return?
05:00
40:00
