Skip to content
New issue

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

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

Already on GitHub? # to your account

About the pos weight #32

Open
Eldo-rado opened this issue Aug 25, 2024 · 0 comments
Open

About the pos weight #32

Eldo-rado opened this issue Aug 25, 2024 · 0 comments

Comments

@Eldo-rado
Copy link

Hi, great work!

I noticed that the pos_weight in binary_classifier_region_abnormal.py is set to 6.0 because normal regions are six times more prevalent than abnormal regions. My question is whether it would be more reasonable to set pos_weight as a vector, as the normal/abnormal ratio for the lungs is likely different from that of the diaphragm.

Additionally, is there any specific rationale behind choosing -1 for logits > -1 ?

Thanks!

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

No branches or pull requests

1 participant