[R] #library(party) - Compare predicted results for ctree

2015-02-16 Thread Rodica Coderie via R-help
Hello, I've created a ctree model called fit using 15 input variables for a factor predicted variable Response (YES/NO). When I run the following : table(predict(fit2), training_data$response) I get the following result: NO YES NO 48694 480 YES 0 0 It appears that the NO

Re: [R] #library(party) - Compare predicted results for ctree

2015-02-16 Thread Achim Zeileis
On Mon, 16 Feb 2015, Rodica Coderie via R-help wrote: Hello, I've created a ctree model called fit using 15 input variables for a factor predicted variable Response (YES/NO). When I run the following : table(predict(fit2), training_data$response) I get the following result: NO YES NO