Skip to content

Monte Carlo accuracy demo#3

Open
AnandShegde wants to merge 2 commits intomasterfrom
mc_accuracy_demo
Open

Monte Carlo accuracy demo#3
AnandShegde wants to merge 2 commits intomasterfrom
mc_accuracy_demo

Conversation

@AnandShegde
Copy link
Owner

Description

Jaxified, latexified the figures in book2/10/mc_accuracy_demo.ipynb. I have combined 4 figures into 2 figures in order to save space and give a better understanding.

Figure Number

10.2

Figures

gist

Before PR After PR
image image

Issue

Steps

  • Comined the 4 figurs to yield 2 figures.
  • Changed the axis limits to have uniformity across the 2 resulting figures.

Checklist:

  • Performed a self-review of the code
  • Tested on Google Colab.

Potential problems/Important remarks

I have discussed with Prof. @nipunbatra and @karm-patel and we decided that the 4 figures can be combined to get 2 figures. The caption in the book will not match the new figures.

  • the old caption is: 10 and 100 samples from a Gaussian distribution,$ N (μ = 1.5, σ2 = 0.25)$. Solid red line is true pdf. Top row: histogram of samples. Bottom row: kernel density estimate derived from the samples. Generated by code.probml.ai/book2/10.2.
  • new caption should be something like: 10 and 100 samples from a Gaussian distribution, $N (μ = 1.5, σ2 = 0.25)$. Solid green line is true pdf. The figure contains histogram of samples and dashed red line indicates kernel density estimate derived from the samples. Generated by code.probml.ai/book2/10.2.

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.

1 participant