powered by
ubTomek(X, Y, verbose = TRUE)
ubBalance
library(unbalanced) data(ubIonosphere) n<-ncol(ubIonosphere) output<-ubIonosphere$Class input<-ubIonosphere[ ,-n] data<-ubTomek(X=input, Y= output) newData<-cbind(data$X, data$Y)
Run the code above in your browser using DataLab