Smote function in R

434 views Asked by At

Anyone knows how to set up the perc.over and perc.under in my case? I tried a couple of combination, but it did not give me good result. I want my target variable to be split into almost 50/50. I have 266776 for my training set, and the current ratio of my target variable in this dataset is 88/12. Here is my code. smoted_data <- SMOTE(Response ~ ., data= train,perc.over = 100)

0

There are 0 answers