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

Evaluation Problems #16

Open
Peggy118 opened this issue Aug 10, 2022 · 1 comment
Open

Evaluation Problems #16

Peggy118 opened this issue Aug 10, 2022 · 1 comment

Comments

@Peggy118
Copy link

Hi, thanks for your amazing work!

I have been trying to plot the ROC curve for the performance evaluation, but I am confused about how the auc is calculated in the test.py. Could you kindly explain your method? For example, what does the number 140 mean in the equation auc/140 in the python file test.py?

`score_list3 = np.concatenate((score_list, score_list2), axis=0)
gt_list3 = np.concatenate((gt_list, gt_list2), axis=0)

fpr, tpr, thresholds = metrics.roc_curve(gt_list3, score_list3, pos_label=1)
auc += metrics.auc(fpr, tpr)

print('auc = ', auc/140)`

Additionally, would it be possible to explain some of your idea for how to show the ROC curve?

@zimengxueying
Copy link

Hi, thanks for your amazing work!

I have been trying to plot the ROC curve for the performance evaluation, but I am confused about how the auc is calculated in the test.py. Could you kindly explain your method? For example, what does the number 140 mean in the equation auc/140 in the python file test.py?

`score_list3 = np.concatenate((score_list, score_list2), axis=0) gt_list3 = np.concatenate((gt_list, gt_list2), axis=0)

fpr, tpr, thresholds = metrics.roc_curve(gt_list3, score_list3, pos_label=1) auc += metrics.auc(fpr, tpr)

print('auc = ', auc/140)`

Additionally, would it be possible to explain some of your idea for how to show the ROC curve?

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

2 participants