Anybody have any ideas? If you need me to provide any more information, just let me know.
gbmFit2 <- train(SalePrice ~ .,
data = train,
na.action = na.pass,
method = "gbm",
# preProcess = c( "knnImpute", "zv", "nzv", "YeoJohnson"),
trControl = fitControl,
## This last option is actually one
## for gbm() that passes through
verbose = TRUE)
Error in ctrfn(levels(x), contrasts = contrasts) : orthogonal polynomials cannot be represented accurately enough for 111 degrees of freedom