I use SMOTE method by typing: New<-SMOTE(Y~.,origin,perc.over=1300,k=5,perc.under=100)
But there is a warning:
Error in colnames<-
(*tmp*
, value = c("Y", "X1", "X2", "X3", "X4", :
'names' attribute [12] must be the same length as the vector [11]
I don't understand why this warning appearance. Someone help me please...