Displaying 1 result from an estimated 1 matches for "cust_language".
2010 Aug 26
1
Decision tree and factor variables
Hello,
I'm building a decision tree in R with the rpart package. Modeling is
fine. But when it comes to scoring, I have the following issue:
factor 'cust_language' has new level(s) OT
I think this comes from the fact that when learning, the DT doesn't
see all the possible value of the factor variable cust_language. When
scoring, new values comes and I get this error. However, it should not
be a problem to have new values for a factor variable when s...