Block oscr:b:63JKVHP747SG8-1
A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON
- Identifier
oscr:b:63JKVHP747SG8-1- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.1371/journal.pcbi.1012532 · its page here
- Code
- github.com/gaspardol/montecarlopredictivecoding,
utils/training_evaluation.py, lines 240 to 284 (KLdivergence) - Commit read
fa98a62a544561a0b2297779338ef1f99a60d406- SWHID
swh:1:cnt:d7fe2021fcbbe322b5c5d72793c2c51be7b86152;origin=https://github.com/gaspardol/montecarlopredictivecoding;anchor=swh:1:rev:fa98a62a544561a0b2297779338ef1f99a60d406;path=/utils/training_evaluation.py;lines=240-284(the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)- In the paper
- paragraph 138 (4 Methods › 4.2 Learning tasks › 4.2.2 MNIST learning task)
- Linked by
- the registry's matching program (lexical-v1), which can be wrong
- Identifier given
- 2026-11-14
Open these lines beside the paper
Cite this block
Copy this text: the identifier and its page first, then the code, the paper and the SWHID.
Code block oscr:b:63JKVHP747SG8-1 (https://openscicode.org/b/oscr:b:63JKVHP747SG8-1)
utils/training_evaluation.py, lines 240 to 284, in github.com/gaspardol/montecarlopredictivecoding (https://github.com/gaspardol/montecarlopredictivecoding), commit fa98a62a544561a0b2297779338ef1f99a60d406.
Paper: https://doi.org/10.1371/journal.pcbi.1012532
SWHID: swh:1:cnt:d7fe2021fcbbe322b5c5d72793c2c51be7b86152;origin=https://github.com/gaspardol/montecarlopredictivecoding;anchor=swh:1:rev:fa98a62a544561a0b2297779338ef1f99a60d406;path=/utils/training_evaluation.py;lines=240-284