{"id":"oscr:b:RVNQKYM9BAY3B-X","url":"https://openscicode.org/b/oscr:b:RVNQKYM9BAY3B-X","status":"current","doi":"10.1016/j.jneumeth.2024.110250","since":"2026-11-14","page":"doi_10.1016_j.jneumeth.2024.110250","repo":"github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring","commit":"7cb0308389ce4c0bb685c76ce971dfeee6bcec62","path":"Scripts/utils.py","swhid":"swh:1:cnt:2133d23b012215997bf5cbea90549b73a3bd6720","lines":[10,42],"symbol":"calculate_metrics","paragraphs":[[18,"Methods › Performance evaluation"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1016/j.jneumeth.2024.110250","swhid_qualified":"swh:1:cnt:2133d23b012215997bf5cbea90549b73a3bd6720;origin=https://github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring;anchor=swh:1:rev:7cb0308389ce4c0bb685c76ce971dfeee6bcec62;path=/Scripts/utils.py;lines=10-42","reader":"https://openscicode.org/paper/doi_10.1016_j.jneumeth.2024.110250/?path=Scripts%2Futils.py#L10-L42","citation":"Code block oscr:b:RVNQKYM9BAY3B-X (https://openscicode.org/b/oscr:b:RVNQKYM9BAY3B-X)\nScripts/utils.py, lines 10 to 42, in github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring (https://github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring), commit 7cb0308389ce4c0bb685c76ce971dfeee6bcec62.\nPaper: https://doi.org/10.1016/j.jneumeth.2024.110250\nSWHID: swh:1:cnt:2133d23b012215997bf5cbea90549b73a3bd6720;origin=https://github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring;anchor=swh:1:rev:7cb0308389ce4c0bb685c76ce971dfeee6bcec62;path=/Scripts/utils.py;lines=10-42"}