Skip to content

Is the ROC-AUC score calculation correct? #30

Open
@bliu188

Description

@bliu188

I am testing the RETAIN model but puzzled by the difference between ROC-AUC and accuracy. The value for ROC-AUC means a nearly non-discriminative model:
Epoch: 9 - ROC-AUC: 0.503192 PR-AUC: 0.147242
but accuracy: 0.8534 is not bad.
It is hard to imagine the model has already been overfitted at Epoch 9. The on_epoch_end callback uses predict_on_batch, which seems fine. I have no clue on what is wrong here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions