In your fit_bayes function, you have
getTrainPerf(mod)[, "TrainRMSE"]
What are the column name of the output of getTrainPerf(mod)?
print(colnames(getTrainPerf(mod)))
You can home in on the problem faster if you call
traceback()
immediately after the error.
Bill Dunlap
TIBCO Software
Hi
I am pretty sure that nobody will be able to answer your question due to
lack of information.
Missing parentheses here
bounds <- list(mtry = c(-2, 5)
Use ?debug if the error is from your function.
If the code is coppied from some help page, use the data from help page and
try to
2 matches
Mail list logo