Updating softmax in rethinking_2 chapter 11#240
Updating softmax in rethinking_2 chapter 11#240DamonCharlesRoberts wants to merge 3 commits intopymc-devs:mainfrom
Conversation
… to the softmax function for rethinking_2 chapter 11 notebook.
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Can we also get rid of the |
|
Also axis=-1, may be more readable (if it's indeed equivalent to axis=1) |
Removed the at imports. Using the |
Left as |
Addresses #239
pm.math.softmax()implementation for multinomial implementation of categorical model.axis=1to the function.