OSCR

Block oscr:b:7HGP3X55WEW69-R

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:7HGP3X55WEW69-R
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.7554/elife.83139 · its page here
Code
github.com/jertubiana/pgm, source/pgm.py, lines 142 to 264 (PGM.gen_data)
Commit read
f68dfe39486686c8e4e3595237d27c082d673849
SWHID
swh:1:cnt:fb5e7041fa42269eed0ff53225e084bec7156578;origin=https://github.com/jertubiana/pgm;anchor=swh:1:rev:f68dfe39486686c8e4e3595237d27c082d673849;path=/source/pgm.py;lines=142-264 (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 83 (Materials and methods › Restricted Boltzmann machines › From features to data)
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:7HGP3X55WEW69-R (https://openscicode.org/b/oscr:b:7HGP3X55WEW69-R)
source/pgm.py, lines 142 to 264, in github.com/jertubiana/pgm (https://github.com/jertubiana/pgm), commit f68dfe39486686c8e4e3595237d27c082d673849.
Paper: https://doi.org/10.7554/elife.83139
SWHID: swh:1:cnt:fb5e7041fa42269eed0ff53225e084bec7156578;origin=https://github.com/jertubiana/pgm;anchor=swh:1:rev:f68dfe39486686c8e4e3595237d27c082d673849;path=/source/pgm.py;lines=142-264