cross validation for own written model

I wrote my model in R, its new model for classification. prediction part has 600 lines and model 100 lines. they are not like a function. I have to do cross validation for parameter optimization. is there any way to code that or I should run the model different times manually?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.