Displaying 1 result from an estimated 1 matches for "randygriffiths".
2008 Jan 29
2
rpart error when constructing a classification tree
I am trying to make a decision tree using rpart. The function runs very
quickly considering the size of the data (1742, 163). When I call the
summary command I get this:
> summary(bookings.cart)
Call:
rpart(formula = totalRev ~ ., data = bookings, method = "class")
  n=1741 (1 observation deleted due to missingness)
  CP nsplit rel error
1  0      0         1
Error in yval[, 1] :