Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nipunbatra
Copy link
Contributor

SVI Part 1

  • Changed beta distribution to Beta distribution
  • Changed bernoulli to Bernoulli

MLE MAP

  • Add analytical MLE expression and show learnt MLE is same as analytical MLE
  • Add analytical MAP expression and show learnt MAP is same as analytical MAP
  • render_model() showing the graphical models and how they differ for MLE and MAP model
  • use uniform prior additionally for MAP model and show MAP = MLE
  • added plot comparing Prior distribution, MLE solution, MAP solution and Prior Mean
  • Show neg loglikelihood(optimum) = SVI loss for MLE (optimum)

Closes #3019

- Changed beta distribution to Beta distribution
- Changed bernoulli to Bernoulli

- Add analytical MLE expression and show learnt MLE is same as analytical MLE
- Add analytical MAP expression and show learnt MAP is same as analytical MAP
- render_model() showing the graphical models and how they differ for MLE and MAP model
- use uniform prior additionally for MAP model and show MAP = MLE
- Show neg loglikelihood(optimum) = SVI loss for MLE (optimum)
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@fritzo fritzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These look like great improvements to the tutorials, @nipunbatra!

@fritzo fritzo merged commit f4fafc5 into pyro-ppl:dev Feb 25, 2022
@nipunbatra
Copy link
Contributor Author

Many thanks for accepting this PR and guiding throughout!

Do the docs take some time to update? I still see the docs without the changes from this PR. Or, does the docs update need a manual push?

@fritzo
Copy link
Member

fritzo commented Feb 25, 2022

Do the docs take some time to update?

The api docs at https://docs.pyro.ai are updated automatically after a few minutes. The tutorials at https://pyro.ai/examples are updated manually after each release (we do that to ensure the tutorials are all compatible with the latest Pyro release).

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.

[documentation: some suggestions for MLE & MAP guide]

2 participants