justindomke / pangolin

probabilistic programming focused on fun
GNU Affero General Public License v3.0
20 stars 1 forks source link

Verbose "debugging" info #6

Closed xidulu closed 6 months ago

xidulu commented 6 months ago

I believe the print statement at

https://github.com/justindomke/pangolin/blob/main/pangolin/interface.py#L307

https://github.com/justindomke/pangolin/blob/main/pangolin/interface.py#L295

https://github.com/justindomke/pangolin/blob/main/pangolin/inference_numpyro.py#L105

Could be commented out or be activated under, e.g. "DEBUG" flag? These statements are really printing out LOTS of stuff.

justindomke commented 6 months ago

Agreed, there were way too many random print statements. I seem to have coincidentally removed all these comments before seeing this issue, but please let me know if there are any others. Broadly speaking, Pangolin should in general "shut up and give the answer" since we want it to be usable for simple one-liners like var(binomial(5,.2))