I'm going through the bartMachine vignette for R, and towards the end, it has an example for using bartMachine for classification problems. This is using the Pima.te data set in the MASS package. When trying to predict "type" with bartMachine (just following the vignette), it looks like my confusion matrix is labeled incorrectly, by comparing my results to the vignette's. I'm getting extremely high error rates - and the numbers in the off diagonal look an awful lot like the vignette's true positive and true negative numbers. Can anyone else confirm this?
options(java.parameters = "-Xmx5g")
library(bartMachine)
set_bart_machine_num_cores(4)
data("Pima.te",package = "MASS")
X <- data.frame(Pima.te[,-8])
y <- Pima.te[,8]
bart_machine_cv <- bartMachineCV(X,y)
bart_machine_cv