SMOTE a R package of smote(a tool of preprocessing imbalance data) when you want using this package in R,you can coding in R: library(devtools) devtools::install_github('binyi10/SMOTE')