Description Usage Arguments Value Examples
Temporal Biased SMOTE
1 2 3 4 5 6 7 8 9 10 11 |
form |
a model formula |
data |
the original training set (with the unbalanced distribution) |
rel |
is the relevance determined automatically (default: "auto") or provided by the user through a matrix. See examples. |
thr.rel |
is the relevance threshold above which a case is considered as an extreme value |
C.perc |
is a list containing the over-sampling percentage/s to apply to all/each "class" obtained with the relevance threshold. The percentage represents the percentage of replicas that are added. Replicas of the examples are added randomly in each "class". Moreover, different percentages may be provided for each "class". Alternatively, it may be "balance" (the default) or "extreme", cases where the over-sampling percentages are automatically estimated. |
k |
is the number of neighbours to consider as the pool from where the new generated examples are generated |
repl |
is it allowed to perform sampling with replacement (bootstrapping). |
dist |
is the distance measure to be used (defaults to "Euclidean"). Use "HEOM" if there are nominal and numerical predictors |
p |
is a parameter used when a p-norm is computed |
a new training data set resulting from the application of the resampling strategy
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.