rpart icon indicating copy to clipboard operation
rpart copied to clipboard

How to interpret xerror of rpart (method="class") when losses are assigned?

Open A-Pai opened this issue 11 months ago • 0 comments

How to interpret xerror of rpart (method="class") when losses are assigned

image

Strangely initial xerror is extremely small and it is 0.1000 (I see this is 1/loss of class 0), then xerror increases to 2.41, 2.77 and so on. Somehow xerror at the initial node is much much better than rel error!!

A-Pai avatar Mar 13 '24 02:03 A-Pai