jku-vds-lab / paradime

A framework for parametric dimensionality reduction
MIT License
9 stars 3 forks source link

Test negative edge sampling #30

Closed einbandi closed 2 years ago

einbandi commented 2 years ago

Item-based sampling works, leading to functioning t-SNE. Check the same for negative edge sampling and UMAP.

einbandi commented 2 years ago

There is a bug concerning the sampling. The indices returned by the WeightedRandomSampler are in terms of the value list of the sparse relation matrix. This index must be converted into the proper row and column index first, and only then can the negative sampling commence.