Alex Coventry
Alex Coventry
Assuming you are using a crosscat metamodel, not gpmcc, I happened on a possible explanation for this behavior earlier this week. [TL;DR:](https://github.com/probcomp/crosscat/blob/d7765df463e79055e5a9cf0031367c32e4a768d7/src/LocalEngine.py#L525) ``` python # TODO: multistate impute doesn't exist...
If you don't mind, I think it would be good to keep this issue open. It looks like you have brought a serious bug to light.
@curlette, can you send the bdb file to alx@<the rest of my github name>.com, please? > `SIMULATE` draws samples given observed-row conditions using the same code as `INFER`, but it...
I understand how it happens and don't have a good immediate fix, but it's definitely a bad error message.
I guess you can do it in O(n*log(n)) by sorting, since closest pairs will be adjacent in the sorted list.
I think you can probably even do closest points in high-dimensional spaces with a [KD-tree](https://en.wikipedia.org/wiki/K-d_tree).
Oh, there's a [wikipedia page](https://en.wikipedia.org/wiki/Closest_pair_of_points_problem) about this exact problem.
Yes, the current lower bound seems likely to cause a problem.
Hi, Sandy. As a temporary workaround, try editing line 95 of `C:\Anaconda\lib\site-packages\crosscat\utils\general_utils.py` so that the argument to `xrange` is `2**31`, or perhaps a smaller value.
You're right, that's a better solution. Can't remember why I wrote it that way.