#' Treat Class Imbalance. Default rate is 8
treatClassImbalance<-function(task,rate=8)
{
task = smote(task, rate = rate, nn = 5)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.