cvxgrp / pymde

Minimum-distortion embedding with PyTorch
https://pymde.org
Apache License 2.0
536 stars 27 forks source link

fix anchor initialization in preserve_neighbors #29

Closed akshayka closed 3 years ago

akshayka commented 3 years ago

project initialization onto constraint set

fixes a minor bug in which anchored points were not projected.

additionally, fix a bug which led to errors when sampling edges on very small datasets.