Exercise
A coin selects bag A with probability and bag B otherwise. Bag A has 2 red and 2 blue counters. Bag B has 3 red and 1 blue. A counter drawn uniformly from the chosen bag is red. What is the probability you chose bag B?Exercise
On three held-out inputs the targets are Model A predicts and model B predicts Give the sum of squared errors for model A, then for model B.Exercise
A decision-tree split sends 3 positive and 1 negative example to the left, and 2 negative examples to the right. What is the weighted Gini impurity after the split?Recall
Why compare the two regression models on data they did not train on?