MLSOL | R Documentation |
This function implements the MLSOL algorithm. It is a preprocessing algorithm for imbalanced multilabel datasets, which applies oversampling on difficult regions of the instance space, in order to help classifiers distinguish labels.
MLSOL(D, P, k, neighbors = NULL, tableVDM = NULL)
D |
mld |
P |
Percentage in which the original dataset is increased |
k |
Number of neighbors to be considered when computing the neighbors of an instance |
neighbors |
Structure with all instances and neighbors in the dataset. If it is empty, it will be calculated by the function |
tableVDM |
Dataframe object containing previous calculations for faster processing. If it is empty, the algorithm will be slower |
A mld object containing the preprocessed multilabel dataset
Liu, B., Blekas, K., & Tsoumakas, G. (2022). Multi-label sampling based on local label imbalance. Pattern Recognition, 122, 108294.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.