{"id":"oscr:b:63JKVHP747SG8-1","url":"https://openscicode.org/b/oscr:b:63JKVHP747SG8-1","status":"current","doi":"10.1371/journal.pcbi.1012532","since":"2026-11-14","page":"doi_10.1371_journal.pcbi.1012532","repo":"github.com/gaspardol/montecarlopredictivecoding","commit":"fa98a62a544561a0b2297779338ef1f99a60d406","path":"utils/training_evaluation.py","swhid":"swh:1:cnt:d7fe2021fcbbe322b5c5d72793c2c51be7b86152","lines":[240,284],"symbol":"KLdivergence","paragraphs":[[138,"4 Methods › 4.2 Learning tasks › 4.2.2 MNIST learning task"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1371/journal.pcbi.1012532","swhid_qualified":"swh:1:cnt:d7fe2021fcbbe322b5c5d72793c2c51be7b86152;origin=https://github.com/gaspardol/montecarlopredictivecoding;anchor=swh:1:rev:fa98a62a544561a0b2297779338ef1f99a60d406;path=/utils/training_evaluation.py;lines=240-284","reader":"https://openscicode.org/paper/doi_10.1371_journal.pcbi.1012532/?path=utils%2Ftraining_evaluation.py#L240-L284","citation":"Code block oscr:b:63JKVHP747SG8-1 (https://openscicode.org/b/oscr:b:63JKVHP747SG8-1)\nutils/training_evaluation.py, lines 240 to 284, in github.com/gaspardol/montecarlopredictivecoding (https://github.com/gaspardol/montecarlopredictivecoding), commit fa98a62a544561a0b2297779338ef1f99a60d406.\nPaper: https://doi.org/10.1371/journal.pcbi.1012532\nSWHID: swh:1:cnt:d7fe2021fcbbe322b5c5d72793c2c51be7b86152;origin=https://github.com/gaspardol/montecarlopredictivecoding;anchor=swh:1:rev:fa98a62a544561a0b2297779338ef1f99a60d406;path=/utils/training_evaluation.py;lines=240-284"}