ABy Admin
May 26'23
Exercise
You are given the following regression tree predicting the weight of ducks in kilograms (kg):
You predict the weight of the following three ducks:
X: Wing Span = 5.5 cm, Male, Age = 7 years
Y: Wing Span = 5.8 cm, Female, Age = 5 years
Z: Wing Span = 5.7 cm, Male, Age = 8 years
Determine the order of the predicted weights of the three ducks.
- X<Y<Z
- X<Z<Y
- Y<X<Z
- Y<Z<X
- Z<X<Y
ABy Admin
May 26'23
Key: C
For duck X: Age = 7 => go left. Gender = Male => go right. Prediction = 0.90 kg.
For duck Y: Age = 5 => go left. Gender = Female => go left. Prediction = 0.80 kg.
For duck Z: Age = 8 => go right. Gender = Male => go right. Wing Span = 5.7 => go right. Prediction = 1.25.
Y < X < Z.