OSCR

Block oscr:b:BXXQ2JFE1MB88-T

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:BXXQ2JFE1MB88-T
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3389/fncom.2025.1692418 · its page here
Code
github.com/mahbodnr/deep_nmf, tools/loss_function.py, lines 4 to 64 (loss_function)
Commit read
8437cd4660843f150dd637e0184eb2384102e8ae
SWHID
swh:1:cnt:e2568400f57a9bd8ff686b30408f114519584562;origin=https://github.com/mahbodnr/deep_nmf;anchor=swh:1:rev:8437cd4660843f150dd637e0184eb2384102e8ae;path=/tools/loss_function.py;lines=4-64 (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 47 (2 Methods › 2.5 Model architecture › 2.5.1 Loss function); paragraph 46 (2 Methods › 2.5 Model architecture › 2.5.1 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:BXXQ2JFE1MB88-T (https://openscicode.org/b/oscr:b:BXXQ2JFE1MB88-T)
tools/loss_function.py, lines 4 to 64, in github.com/mahbodnr/deep_nmf (https://github.com/mahbodnr/deep_nmf), commit 8437cd4660843f150dd637e0184eb2384102e8ae.
Paper: https://doi.org/10.3389/fncom.2025.1692418
SWHID: swh:1:cnt:e2568400f57a9bd8ff686b30408f114519584562;origin=https://github.com/mahbodnr/deep_nmf;anchor=swh:1:rev:8437cd4660843f150dd637e0184eb2384102e8ae;path=/tools/loss_function.py;lines=4-64