These names indicate the data record indices of the first group, and data record numbers are the indices of data records in the second group.
Euclidean distance is calculated normally with .
Hamming distance performs a comparison of data records and the resulting distance indicates the number of field values, in which they differ. In that case the distance indicates the number of character positions that are different in the evaluated strings. Levenshtein or EDIT distance locates the minimum number of character addition , deletion or update operations required to change the string in the first frame into a string in the second frame. In this case a single field name needs to be specified. This command creates new fields to a data frame containing distances from some data vectors to some other data vectors within the same or different data sets.