Solution to an exercise for training a model for numeric prediction.
Train and apply a linear regression model. Evaluate the performance with numeric scoring metrics.
CHECK YOUR ANSWERS:
a. The model explains about 20% of the variance of the weekly working hours (R-squared)
b. The mean absolute error of the model is about 8 hours
Train and apply a linear regression model. Evaluate the performance with numeric scoring metrics.
CHECK YOUR ANSWERS:
a. The model explains about 20% of the variance of the weekly working hours (R-squared)
b. The mean absolute error of the model is about 8 hours