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

is nonremission regarded as positive or negative? #1

Open
LudwigSunny opened this issue Apr 4, 2024 · 0 comments
Open

is nonremission regarded as positive or negative? #1

LudwigSunny opened this issue Apr 4, 2024 · 0 comments

Comments

@LudwigSunny
Copy link

Hi, thanks for your code and dataset, it really helps me a lot; however, I have been confused about the way
you calculate the sensitivity and specificity while calculating remission.

You regard nonremission as positive here:
"util.py/provider.py", line 723:
r_probs.append(output.softmax(1).squeeze(0)[nonremission_scores].sum().item()) --> you use the nonremission label([2,3]) total probability as the probability of r_probs, it shows that nonremission is positive. And 0 represents remission, 1 represents nonremission here.

You regard nonremission as negative here:
"train_classification_model_CV.py", line 383:
cr_r = classification_report(r_true, r_pred, output_dict=True)
sensitivities_r.append(cr_r["0"]["recall"]), specificities_r.append(cr_r["1"]["recall"]) --> it shows that nonremission(1) is negative here.

Q: Is nonremission positive or negative?

Thanks in advance! (really thanks for your contribution to this study!)

Ludwig

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