Error in as.POSIXct.numeric(value) : 'origin' must be supplied with SMOTE function

Hey guys !

I am trying to apply SMOTE function on an unbalanced dataset.

balanced.df  <- SMOTE(y~x1+x2+x3+x4, data= A,  perc.over = 400, perc.under = 10 )

A = dataset
x1 = Factor type
x2 : x4 = Numeric type
y= factor type

Non of the x1:x4 variables are date nor time.

But R returns a following error.

"Error in as.POSIXct.numeric(value) : 'origin' must be supplied"

Any suggestion what this message might be indicating?

Thank you in advance.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.