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

医学影像报告异常检测的线下logloss与官方计算方式的差别 #18

Open
Alexzhuan opened this issue Mar 3, 2021 · 2 comments

Comments

@Alexzhuan
Copy link

sklearn的logloss的多标签计算是没有除以标签数的,所以val_loss需要再除以标签数,再算1-loss

@DLLXW
Copy link
Owner

DLLXW commented Mar 4, 2021

sklearn的logloss的多标签计算是没有除以标签数的,所以val_loss需要再除以标签数,再算1-loss

感谢指正

@cswwp
Copy link

cswwp commented Mar 8, 2021

好奇怪啊,为什么我同样用sklearn的logloss,但是参数是numpy计算就为负的,换成你的用list传参就正常了?@DLLXW

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

3 participants