search for: validf

Displaying 1 result from an estimated 1 matches for "validf".

Did you mean: valid
2007 Aug 22
1
"subscript out of bounds" Error in predict.naivebayes
...else object$tables[[v]][, nd] prob[prob == 0] <- threshold prob } })), 1, sum) if (type == "class") L else { L <- exp(L) L/sum(L) } }) 2: predict.naiveBayes(nbmodel, validf[1:30, ]) 1: predict(nbmodel, validf[1:30, ]) Does anyone have an idea what went wrong? Thanks in advance. [[alternative HTML version deleted]]