Block oscr:b:010BWXFZGDNMY-N
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:010BWXFZGDNMY-N- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.1038/s41598-023-50736-7 · its page here
- Code
- github.com/nicolasigor/sleep-eeg-event-detector,
sleeprnn/nn/losses.py, lines 226 to 285 (weighted_cross_entropy_loss_soft) - Commit read
24322278e3f3ef7535413a65a61fffc3ce4f4e01- SWHID
swh:1:cnt:8ffad948dadb185c5fb0384fa414466016a8b878;origin=https://github.com/nicolasigor/sleep-eeg-event-detector;anchor=swh:1:rev:24322278e3f3ef7535413a65a61fffc3ce4f4e01;path=/sleeprnn/nn/losses.py;lines=226-285(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 77 (Methods › 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:010BWXFZGDNMY-N (https://openscicode.org/b/oscr:b:010BWXFZGDNMY-N)
sleeprnn/nn/losses.py, lines 226 to 285, in github.com/nicolasigor/sleep-eeg-event-detector (https://github.com/nicolasigor/sleep-eeg-event-detector), commit 24322278e3f3ef7535413a65a61fffc3ce4f4e01.
Paper: https://doi.org/10.1038/s41598-023-50736-7
SWHID: swh:1:cnt:8ffad948dadb185c5fb0384fa414466016a8b878;origin=https://github.com/nicolasigor/sleep-eeg-event-detector;anchor=swh:1:rev:24322278e3f3ef7535413a65a61fffc3ce4f4e01;path=/sleeprnn/nn/losses.py;lines=226-285