Last active
September 15, 2022 21:08
-
-
Save AustinRochford/d640a240af12f6869a7b9b592485ca15 to your computer and use it in GitHub Desktop.
PyMC3 BSplines
I can understand most of what is happening here, but I am kind of stumped at this line. Why do we need to do a cumulative sum? Are we doing inverse CDF sampling here?
a = pm.Deterministic('a', a0 + (σ_a * Δ_a).cumsum())
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that's just what happened in your particular case. Here is the output from when I ran it (no delay):