summaryrefslogtreecommitdiff
path: root/src/python/test/test_dtm.py
AgeCommit message (Collapse)Author
2020-05-19Test with explicit weightsMarc Glisse
and remove duplicated assignment
2020-05-18Infer k when we pass the distances to the nearest neighborsMarc Glisse
2020-05-12More testMarc Glisse
2020-05-12test + reformatMarc Glisse
2020-04-22Reduce the probability of failure of test_dtmMarc Glisse
It is expected that hnsw sometimes misses one neighbor, which has an impact on the DTM, especially if the number of neighbors considered is low.
2020-04-19Drop redundant testMarc Glisse
torch.isnan(None) raises an exception anyway
2020-04-14Check that the gradient is not NaNMarc Glisse
This can easily happen with pytorch, and there is special code to avoid it.
2020-04-14More testingMarc Glisse
2020-04-13enable_autodiff with keopsMarc Glisse
This doesn't seem like the best way to handle it, we may want to handle it like a wrapper that gets the indices from knn (whatever backend) and then computes the distances.
2020-04-12Parallelize the "precomputed" case of knnMarc Glisse
It is supposed to be possible to compile numpy with openmp, but it looks like it isn't done in any of the usual packages. It may be possible to refactor that code so there is less redundancy.
2020-04-11Use longer namesMarc Glisse
2020-03-28Default param of 2 for DTMMarc Glisse
2020-03-28Fix testMarc Glisse
2020-03-28Fix testMarc Glisse
2020-03-27docMarc Glisse
2020-03-27Improve coverageMarc Glisse
2020-03-26cmakeMarc Glisse