Displaying 1 result from an estimated 1 matches for "my_grid".
2013 Feb 12
1
caret: Errors with createGrid for rf (randomForest)
When I try to crate a grid of parameters for training with caret I get
various errors:
------------------------------------------------------------
> my_grid <- createGrid("rf")
Error in if (p <= len) { : argument is of length zero
> my_grid <- createGrid("rf", 4)
Error in if (p <= len) { : argument is of length zero
> my_grid <- createGrid("rf", len=4)
Error in if (p <= len) { : argument is of len...