I am recently getting familiar with the tidymodels framework and was wondering if there is a way to create a split object (one which u normally make with the initial_split()
function from the rsamples package) from available training and testing data.
So i have training data and testing data and want to create a split object from them.
The reason i ask is because i need this split object in order to perform last_fit()
(from the tune package) on it in order to gain insights (collect_metrics()
, collect_predictions
and so on) after i got my best model with select_best()
(from the tune package aswell).
Thanks for help