Distances

enum qbindiff.Distance(value)[source]

Enum of different (supported) distances used to compute the similarity matrix based on chosen features.

Member Type:

int

Valid values are as follows:

canberra = <Distance.canberra: 0>

canberra distance

euclidean = <Distance.euclidean: 1>

euclidean distance

cosine = <Distance.cosine: 2>

cosine distance

jaccard_strong = <Distance.jaccard_strong: 3>

custom distance