Skip to content

RuntimeError: Caught an unknown exception! #620

Answered by ulupo
alexlim1993 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the delay in responding! I haven't observed this problem before but you may well be correct in your diagnosis. I think the point is that even though the points are slightly different in their 64-bit representations, the matrix of pairwise distances (whose computation is itself subject to numerical rounding errors) might end up being identically zero.

Of course, you could always try to perturb each point's position independently with some very very small Gaussian noise. Let us know if that helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alexlim1993
Comment options

Answer selected by alexlim1993
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants