initTypes | R Documentation |
Auxiliary function used by MLSOL. Categorizes each pair instance-label of the dataset with a type
initTypes(C, neighbors, k, minoritary, D, d)
C |
List of vectors with one value for each pair instance-label |
neighbors |
Structure with the k nearest neighbors of each instance of the dataset |
k |
Number of neighbors to be considered for each instance |
minoritary |
Vector with the minoritary value of each label (normally, 1) |
D |
mld |
d |
Vector with the instances of the dataset which have one or more label active (ideally, all of them) |
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.