Knowledge check

Completed
1.

The tidymodels framework was used in R to train a regression model from a dataset of sales data. To evaluate the model to ensure it will predict accurately with new data, what should be done?

2.

A regression model specification was created by using the linear_reg() function in the tidymodels parsnip package. What should be done to train the model?

3.

A regression model was trained by using the tidymodels framework. When it's evaluated with test data, the model achieves an R-squared metric of 0.95. What does this metric say about the model?