wmkouw/libTLDA

Maybe a bug in iw.py

Opened this issue · 0 comments

ix = np.argmin(d, axis=1)

ix = np.argmin(d, axis=1)

To count target samples within each source Voronoi cell, ix should be the index of the source sample if there exists a target sample that is closest to this source sample.

So it should be "ix = np.argmin(d, axis=0)".

If I have some misunderstanding, please correct me and forgive me. Thanks!