circle_numeric <- circle_example[, c("x", "y", "class")]
res <- smotenc(circle_numeric, var = "class")
res <- smotenc(circle_numeric, var = "class", k = 10)
res <- smotenc(circle_numeric, var = "class", over_ratio = 0.8)
Run the code above in your browser using DataLab