Explore seus modelos com melhor e pior ajuste
Vamos explorar seus quatro modelos com melhor e pior ajuste, comparando as retas ajustadas com os valores reais.
Este exercicio faz parte do curso
Machine Learning no tidyverse
exercicio interativo prático
Tente este exercicio completando este código de exemplo.
# Compare the predicted values with the actual values of life expectancy for the top 4 best fitting models
best_augmented %>%
ggplot(aes(x = year)) +
geom_point(aes(y = ___)) +
geom_line(aes(y = ___), color = "red") +
facet_wrap(~country, scales = "free_y")