1. Learn
  2. /
  3. Courses
  4. /
  5. Machine Learning in the Tidyverse

Connected

Exercise

Explore your best and worst fitting models

Let's explore your four best and worst fitting models by comparing the fitted lines with the actual values.

Instructions 1/2

undefined XP
  • 1

    Visualize the fit of your four best fitting models with respect to year by plotting both life_expectancy as points and .fitted as a line.

  • 2

    Visualize the fit of your four worst fitting models with respect to year by plotting both life_expectancy as points and .fitted as a line.