search for: synpred

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

Did you mean: synced
2012 Feb 02
1
knncat broken on R 2.14?
...3. I can see this problem even when running the example script under ?knncat. Given example from ?knncat, and expected behavior: ======================= library(knncat) library(MASS) # Load data set syncat <- knncat (synth.tr, classcol=3) ## Not run: syncat Train set misclass rate: 12.8 synpred <- predict (syncat, synth.tr, synth.te, train.classcol=3, newdata.classcol=3) table (synpred, synth.te$yc) synpred 0 1 0 460 91 1 40 409 ======================= Actual behavior: ========================================== > library(MASS) # Load data...