Auxiliary function used to calculate the Value Difference Metric (VDM) between two instances considering their non numeric attributes
vdm(D, sample, y, label, tableVDM = NULL)
A value for the distance
mld mldr
object with the multilabel dataset to preprocess
Index of the first sample
Index of the second sample
Label that will be considered in calculations
Dataframe object containing previous calculations for faster processing. If it is empty, the algorithm will be slower