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

In my own dataset, why is the Avg precision always 0.5 in each epoch? #95

Open
1244547821 opened this issue Feb 24, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@1244547821
Copy link

Hi yuan, in my own two-category data set training, the Avg precision in each epoch is 0.5, Recall is always 1, can you answer my question, the following is my result.
start validation
acc: 0.934211
AUC: 0.981920
Avg Precision: 0.500000
Avg Recall: 1.000000
d_prime: 2.962967
train_loss: 0.260971
valid_loss: 0.466797
validation finished
Epoch-2 lr: 1e-05

@YuanGongND
Copy link
Owner

Have you tried other baselines? It seems the model is biased to one class (i.e., predict all samples as that class), which could be due to the model is not well-trained, or the data has some problem.

@YuanGongND YuanGongND added the question Further information is requested label Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants