Skip to content

Undocumented multiplication by num_classes #26

@pjckoch

Description

@pjckoch

Hi,

thank you first of all for the great paper and for publishing the code.

I was wondering why you are multiplying the class_weight by num_classes here:

class_weight = class_weight / np.sum(class_weight) * num_classes

I cannot find this multiplication in the equation of the paper:

Bildschirmfoto 2024-04-09 um 13 21 25

Maybe it is a misunderstanding on my end. Thank you in advance!

Patrick

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