I am using caret::train to train my model. I am using ranger method to train my model. Ranger have a lot of parameter but in caret tuneGrid only 3 parameters are exposed to tune. I want to tune more parameters other than these 3
tr <- caret::trainControl(method = 'cv',number = 10,search = 'grid')
grd <- expand.grid(mtry = 3,splitrule = 'gini',min.node.size = 3,num.tree = 1000)
mdl <- caret::train(x = iris[,-ncol(iris)],y = iris[,ncol(iris)],method = 'ranger',trControl = tr,tuneGrid = grd)
Error: The tuning parameter grid should have columns mtry, splitrule, min.node.size