@pagal_guy wrote:
hello,
set.seed(123) fitControl <- trainControl(method = 'cv', number = 10, summaryFunction=defaultSummary) Grid <- expand.grid( n.trees = seq(50,1000,50), interaction.depth = c(30), shrinkage = c(0.1),n.minobsinnode = 10)
I came across the above code while learning about ensembles.
Can someone please help me understand the function expand.grid and it's parameters.
I tried R help but:Kindly help!!
Posts: 1
Participants: 1