- I want to try K-fold cross validation in R for C5.0 algorithm,
The following is the code i use. Can someone suggest me how can i include k-fold as well?
Classifi_C5.0 <- C5.0(TARGET ~., , data = training_data_SMOTED, trails = 500, control = C5.0Control(minCases = mincases_count, noGlobalPruning = FALSE))
- Is it required to do k-fold cross validation for Random forest?