Hi there,
Would appreciate the help of someone expertise regarding the specific use of the argument (obj) from the 'evtree' package. Unfortunately, the package doesn't define it in context. Yet would be good to hear some opinions/feedback.
Basically, the 'evtree' measures accuracy by misclassification ('mc'), but this is set equal to the following argument:
mc <- function(obj) 1 - mean(predict(obj) == Data$X)
Again, unfortunately, the author's do not define 'obj', but would be good to know what it means in this context. Reference is Grubinger et al (2014) page 15. https://cran.r-project.org/web/packages/evtree/vignettes/evtree.pdf