Hi I'm getting the error below when doing a classification,
The dependent variable was converted to factor, we have 5 classes.
Am I doing something wrong?
Residual Sum of Squares (Predicted): NA R-squared (Predicted) %: NA Error in x[[jj]][iseq] <- vjj : replacement has length zero In addition: Warning messages: 1: In Ops.factor(Gl.Model$y, yhat) : ‘-’ not meaningful for factors 2: In mean.default(Gl.Model$y) : argument is not numeric or logical: returning NA 3: In Ops.factor(Gl.Model$y, g.mean.y) : ‘-’ not meaningful for factors
Hi I'm getting the error below when doing a classification, The dependent variable was converted to factor, we have 5 classes. Am I doing something wrong?
Residual Sum of Squares (Predicted): NA R-squared (Predicted) %: NA Error in x[[jj]][iseq] <- vjj : replacement has length zero In addition: Warning messages: 1: In Ops.factor(Gl.Model$y, yhat) : ‘-’ not meaningful for factors 2: In mean.default(Gl.Model$y) : argument is not numeric or logical: returning NA 3: In Ops.factor(Gl.Model$y, g.mean.y) : ‘-’ not meaningful for factors