newSample | R Documentation |
Auxiliary function used by MLSMOTE. Creates a synthetic sample based on values of attributes and labels of its neighbors
newSample(seedInstance, refNeigh, neighbors, strategy, D)
seedInstance |
Sample we are using as "template" |
refNeigh |
Reference neighbor |
neighbors |
Neighbors to take into account |
strategy |
Strategy for choosing the synthetic labels: union, intersection or ranking |
D |
mld |
A synthetic sample derived from the one passed as a parameter and its neighbors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.