DOCS - Adding in explanation of counter intuitive behaviour of Logp#2490
DOCS - Adding in explanation of counter intuitive behaviour of Logp#2490springcoil merged 1 commit intomasterfrom
Conversation
|
@junpenglao I'm a bit confused about the documentation - do I submit the ipynb with the cells run or does someone else run them? |
|
I think you should submit with the cell run, @twiecki? |
|
I'll submit with the cell run then. |
|
cc - #2489 |
|
Definitely need the outputs. |
|
Thanks @twiecki I just ran it now. I wasn't sure if we did or not. |
Running all cells
|
LGTM. |
|
Going to merge it in now once the checks complete :) |
|
What about having fn cache that is cleaned after new var is added? |
|
Hmm that might work - do you have a toy example to illustrate? |
|
I think it is cleaner to return objects that encapsulate the functions. There is also other state to keep track of, for example the mapping between array space and dict space. When we add more variables, the meaning of an array changes. That is cleaner if it is all part of a separate object, that itself is immutable. It also makes it much easier to see where something is compiled, which makes tracking down errors or slowdown easier. Something like |
I've screwed up this branch - definitely don't merge yet.