Description Usage Arguments Details Value See Also
Function used in SMOTE to generate new minority examples.
1 | ubSmoteExs(data, tgt, N = 200, k = 5)
|
data |
the data.frame |
tgt |
the index of the target/response variables |
N |
N/100 is the number of new instances generated for each rare instance. If N < 100 a single instance is generated |
k |
the number of neighbours to consider as the pool from where the new examples are generated |
This function does not handle vectors
newCases
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.