vdm {mldr.resampling} | R Documentation |
Auxiliary function used to calculate the Value Difference Metric (VDM) between two instances considering their non numeric attributes
Description
Auxiliary function used to calculate the Value Difference Metric (VDM) between two instances considering their non numeric attributes
Usage
vdm(D, sample, y, label, tableVDM = NULL)
Arguments
D |
mld |
sample |
Index of the first sample |
y |
Index of the second sample |
label |
Label that will be considered in calculations |
tableVDM |
Dataframe object containing previous calculations for faster processing. If it is empty, the algorithm will be slower |
Value
A value for the distance
[Package mldr.resampling version 0.2.3 Index]