> Just FYI... [this plot](https://aml4td.org/figures/fig-two-class-overfit-1.svg) is my current favorite for showing overfitting. ([code](https://github.com/aml4td/website/blob/main/chapters/overfitting.qmd#L72)). There's also a figure for the test set data too. <img width="864" alt="image" src="https://github.com/user-attachments/assets/f1f668a1-9d65-483c-993d-fff28d79912b"> _Originally posted by @topepo in https://github.com/tidymodels/workshops/issues/368#issuecomment-2273965335_