Skip to content

Question about calculating rank (line 95 in utils.py) #4

@sindhura97

Description

@sindhura97

The rank is calculated as "rank = (predicts < scores).sum(-1).float()" in line 95 of utils.py.
Should "<" be replaced with "<=" to avoid the rank being 0 when all scores are the same value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions