jku-vds-lab / projection-space-explorer

https://jku-vds-lab.at/pse
BSD 3-Clause "New" or "Revised" License
41 stars 4 forks source link

Fix jaccard distance #226

Closed puehringer closed 1 year ago

keckelt commented 1 year ago

What was the problem with the Jaccard distance?

puehringer commented 1 year ago

It was simply wrong. The input vectors where the categories (or actually the indices thereof):

a: [1, 0, 1, 1, 0, ...]
b: [0, 0, 0, 1, 0, ...]

The comparison which it did before was create sets of a and b (which is nonesense, as both sets are now [0, 1]), and compare those. But what it should actually do is compare the individual indices (i.e. a_0 and b_0, ...) which it does now.

keckelt commented 1 year ago

Thanks Michael!