You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is sad, because that operation is called sampleLogCategorical (in the Venture codebase), and it really should subtract off the maximum of the cluster_logps before starting to exponentiate them, lest loss of precision lead to bad results or crashes.
Separately, it probably shouldn't use numpy's ambient prng for its entropy, but that feels like a more involved problem.
simple_predictive_sample_unobserved
(crosscat/crosscat/utils/sample_utils.py
Lines 547 to 549 in b0a7c1a
The text was updated successfully, but these errors were encountered: