Skip to content

Conversation

ColCarroll
Copy link
Member

Came up on #1516, I removed the verbose argument in favor of setting logging levels (so the end user can globally set the level to log at). @taku-y might take a look at the ADVI changes -- I swapped out printing for tqdm there, and update the ELBO at the same rate using the tqdm api.

This is a breaking change! But it'll break early and loudly (as soon as Model is initialized). If we wanted to give some warning, I can leave the verbose argument in Model for a while, and just raise a DeprecationWarning whenever it is set.

@fonnesbeck
Copy link
Member

I'm not worried about breaking the verbosity flag, as it was intended to be used interactively for debugging.

@twiecki
Copy link
Member

twiecki commented Nov 10, 2016

Yes, I think this is a good change. No reason to have two mechanisms do the same thing. I'll assign to @taku-y to review and merge.

@taku-y
Copy link
Contributor

taku-y commented Nov 10, 2016

It looks good to me. I'll merge.

@taku-y taku-y merged commit ebf26d5 into pymc-devs:master Nov 10, 2016
@AustinRochford
Copy link
Member

@ColCarroll I just went to make this change on a week-old version and was pleasantly surprised. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants