Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSCR #15

Open
sanqudui8ban opened this issue Dec 1, 2022 · 0 comments
Open

OSCR #15

sanqudui8ban opened this issue Dec 1, 2022 · 0 comments

Comments

@sanqudui8ban
Copy link

我跑你的代码的时候,我发现当我把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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant