Hello modellers!
I understand that tidymodels' tune tune_grid()method collects out-of-sample-metrics using the metrics parameter. However, how can I also collect in-sample metrics?
I do not only want to collect metrics for predictions, but also assess my models fit on the data it was trained on. This is helpful when assessing whether any model overfits.
Thanks for your help!
This is my first post on this forum, so please be gentle and let me know how I can improve my questioning.