vdm | R Documentation |
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)
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 |
A value for the distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.