probcomp / cgpm

Library of composable generative population models which serve as the modeling and inference backend of BayesDB.
Apache License 2.0
25 stars 11 forks source link

Store log constants rather than recomputing in primitives/Normal etc #225

Closed fsaad closed 7 years ago

fsaad commented 7 years ago

Computing logarithms of constants becomes a performance bottleneck when run thousands of times.