Displaying 2 results from an estimated 2 matches for "trainparams".
2014 Jun 12
1
do.call Error for Function Not Present When Manually Called
Hello,
The e1071 function naiveBayes gives an error when called by do.call, although it doesn't give any error if I call it manually.
Browse[1]> trainParams at classifier
function (x, ...)
UseMethod("naiveBayes")
<environment: namespace:e1071>
Browse[1]> trained <- do.call(trainParams at classifier, paramList)
Error in names(dimnames(tables[[i]])) <- c(Yname, colnames(x)[i]) :
'names' attribute [4] must be the same...
2015 Feb 20
1
save.image Doesn't Save Objects When Browsing
...states that "save.image() is just a short-cut for save(list = ls(all = TRUE), file = ".RData")". However, if I do
Browse[1]> ls(all=TRUE)
[1] "expression" "orderedFeatures" "predictParams"
[4] "resubstituteParams" "trainParams" "verbose"
Browse[1]> save.image("BROWSE.RData")
load("BROWSE.RData") shows different variables than ls() did. Explicitly typing
Browse[1]> save(list = ls(all = TRUE), file = ".RData")
causes the variables in the current environment to be...