Re: [R] Class probabilities in rpart

2007-09-17 Thread Terry Therneau
> The predict.rpart() function from the rpart library allows for > calculating the class probabilities for a given test case instead of a > discrete class label. > How are these class probabilities derived? Is it simply the proportion > of the majority class to all cases in a leaf node? Th

[R] Class probabilities in rpart

2007-09-15 Thread Christian Schäfer
Hi, the predict.rpart() function from the rpart library allows for calculating the class probabilities for a given test case instead of a discrete class label. How are these class probabilities derived? Is it simply the proportion of the majority class to all cases in a leaf node? Thanks in a