ccshan
2017-11-22 09:47:08

That was just a merge commit - check out the parent commit https://github.com/hakaru-dev/hakaru/commit/c261812c619c181add412f915355591be46513ce which might make all backends 20000 times faster!


ccshan
2017-11-22 20:32:05

@rjnw I checked your nb_simpbucket.hs against the NaiveBayesGibbs.hs in the same directory, and it seems that your nb_simpbucket.hs was generated by a pre-c261812 version of hakaru/maple. (If you pulled that commit, did you update ppaml.mla afterwards?) Would you please try using the prog in https://github.com/rjnw/hakaru-benchmarks/blob/c7fcfaa7cca9b0f20749c3f2bb47adfc70c87b8d/testcode/hssrc/NaiveBayesGibbs.hs ? (That’s the latest.)


ccshan
2017-11-22 20:47:15

If the prog in your nb_simpbucket.hs is what’s been giving you the performance of 4s per update then I’m excited because maybe youll get 0.2ms per update (or 400ms per sweep) when you start using the latest prog!


rjnw
2017-11-23 01:06:23

hmm I will give it a try today