Skip to content

OSCR #15

Description

@sanqudui8ban

我跑你的代码的时候,我发现当我把compute_oscr函数的条件改成跟计算AUROC一样的时候,log输出的AUROC的值要大于OSCR的值。然后我阅读compute_oscr中计算不同阈值TP和FP的代码时候,发现TP是K+1但是FP没有K+1(我知道+1是为了取消最大的置信度当阈值时的计算)
CC = s_k_target[k+1:].sum()
FP = s_u_target[k:].sum()
我想问这里的FP的计算是不是索引也应该是k+1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions