OSCR

Block oscr:b:ZV0FD6068F91S-K

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:ZV0FD6068F91S-K
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1009458 · its page here
Code
github.com/carolinscholl/pruningbms, bm/rbm/base_rbm.py, lines 20 to 113 (BaseRBM)
Commit read
974f254672a0a956b904b9be9049525c18f3b3a0
SWHID
swh:1:cnt:008de29cabc553f3d21933ada3ac7824b02e9fbf;origin=https://github.com/carolinscholl/pruningbms;anchor=swh:1:rev:974f254672a0a956b904b9be9049525c18f3b3a0;path=/bm/rbm/base_rbm.py;lines=20-113 (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 73 (Materials and methods › Model fitting and sampling › DBMs for MNIST digits); paragraph 74 (Materials and methods › Model fitting and sampling › DBMs for MNIST digits)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-20

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:ZV0FD6068F91S-K (https://openscicode.org/b/oscr:b:ZV0FD6068F91S-K)
bm/rbm/base_rbm.py, lines 20 to 113, in github.com/carolinscholl/pruningbms (https://github.com/carolinscholl/pruningbms), commit 974f254672a0a956b904b9be9049525c18f3b3a0.
Paper: https://doi.org/10.1371/journal.pcbi.1009458
SWHID: swh:1:cnt:008de29cabc553f3d21933ada3ac7824b02e9fbf;origin=https://github.com/carolinscholl/pruningbms;anchor=swh:1:rev:974f254672a0a956b904b9be9049525c18f3b3a0;path=/bm/rbm/base_rbm.py;lines=20-113