OSCR

Block oscr:b:0AN683SF7T2J6-E

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:0AN683SF7T2J6-E
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3390/brainsci14010010 · its page here
Code
github.com/frankkramer-lab/aucmedi, aucmedi/utils/class_weights.py, lines 26 to 72 (compute_class_weights)
Commit read
e28e81065e68de9c9f0438aa65b7fd6cb9c6d870
SWHID
swh:1:cnt:cfd40cb4b54c07b500b589ccb0890f73cedbd1d2;origin=https://github.com/frankkramer-lab/aucmedi;anchor=swh:1:rev:e28e81065e68de9c9f0438aa65b7fd6cb9c6d870;path=/aucmedi/utils/class_weights.py;lines=26-72 (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 15 (2. Materials and Methods › 2.8. Class Imbalance and Loss Function)
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:0AN683SF7T2J6-E (https://openscicode.org/b/oscr:b:0AN683SF7T2J6-E)
aucmedi/utils/class_weights.py, lines 26 to 72, in github.com/frankkramer-lab/aucmedi (https://github.com/frankkramer-lab/aucmedi), commit e28e81065e68de9c9f0438aa65b7fd6cb9c6d870.
Paper: https://doi.org/10.3390/brainsci14010010
SWHID: swh:1:cnt:cfd40cb4b54c07b500b589ccb0890f73cedbd1d2;origin=https://github.com/frankkramer-lab/aucmedi;anchor=swh:1:rev:e28e81065e68de9c9f0438aa65b7fd6cb9c6d870;path=/aucmedi/utils/class_weights.py;lines=26-72