1

I trained a classification model using treebag:

tbmodel <- train(target ~ ., data = combine_train, method = "treebag")
predictors <- names(trainSplit)[names(trainSplit) != 'target']

pred <- predict(tbmodel$finalModel, testSplit[,predictors])

How can I get the misclassification rate, false positive, negative rate of this model?

Thank you!

paisanco
  • 4,098
  • 6
  • 27
  • 33
Kelly Nguyen
  • 273
  • 1
  • 2
  • 4

1 Answers1

0

There is plenty of documentation on this.

topepo
  • 13,534
  • 3
  • 39
  • 52