To predict the price of a house, we can use linear regression to learn the relationship between house size and price. Then, to predict the price of a new house, we can simply plug in the size of the house into the trained model.
The candidate's solution is correct and demonstrates a good understanding of the problem. The linear regression model is a good choice for this problem.
Evaluated at: 2022-10-22 20:00:54