0
trainControl(method=)

I have a large time series dataset, and I would like to split into training,validation and testing set. However, I couldn't find the setting for prespecified validation set in caret trainControl for hyperparameter tuning. I don't wish to use cross validation in such case.

I wish further use it in with the train function to fit my model.

fit<-train(...)
desertnaut
  • 57,590
  • 26
  • 140
  • 166
Grace T
  • 1
  • 1
  • Hi Grace, welcome to SO. It's not yet very clear what you need, maybe you can provide example data and some code to better highlight your issue: https://stackoverflow.com/help/minimal-reproducible-example. If you're not using CV for hyper-parameter selection, whatt are you using instead? What kind of model are you fitting? – Michael Roswell May 01 '23 at 14:16
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community May 01 '23 at 17:34

0 Answers0