OSCR

Block oscr:b:PFRSHX79005XM-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:PFRSHX79005XM-T
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41586-025-08969-1 · its page here
Code
github.com/kimerein/tensor_regression, multinomial_tensor_regression.py, lines 291 to 387 (CP_logistic_regression.fit)
Commit read
4b199b4180da4e57e5e627fc44958c6d12262529
SWHID
swh:1:cnt:93a088c4e0250837291082c956b3cc4ae8e025a8;origin=https://github.com/kimerein/tensor_regression;anchor=swh:1:rev:4b199b4180da4e57e5e627fc44958c6d12262529;path=/multinomial_tensor_regression.py;lines=291-387 (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 196 (Methods › Tensor regression optimization); paragraph 198 (Methods › Selecting the rank of the tensor regression)
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:PFRSHX79005XM-T (https://openscicode.org/b/oscr:b:PFRSHX79005XM-T)
multinomial_tensor_regression.py, lines 291 to 387, in github.com/kimerein/tensor_regression (https://github.com/kimerein/tensor_regression), commit 4b199b4180da4e57e5e627fc44958c6d12262529.
Paper: https://doi.org/10.1038/s41586-025-08969-1
SWHID: swh:1:cnt:93a088c4e0250837291082c956b3cc4ae8e025a8;origin=https://github.com/kimerein/tensor_regression;anchor=swh:1:rev:4b199b4180da4e57e5e627fc44958c6d12262529;path=/multinomial_tensor_regression.py;lines=291-387