Description Usage Arguments Value
The result of the function is a (N-1)*nrow(data) set of synthetically generated examples with rare values on the target
1 | smote.exsTPhi(data, tgt, N, k, dist, p, pc)
|
data |
the rare cases (the minority "class" cases) |
tgt |
the column nr of the target variable |
N |
the percentage of over-sampling to carry out; |
k |
the number of nearest neighours |
dist |
the distance function used for the neighours computation |
p |
an integer used when a "p-norm" distance is selected |
pc |
relevance function |
SMOTEd Examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.