Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

What does the expand.grid function in caret do?

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles