Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Class-Balanced Loss Based on Effective Number of Samples #2732

@ashutosh1919

Description

@ashutosh1919

Currently, TensorFlow has Focal loss which can be one of the options to handle the class imbalance issues. But I myself have faced problems in the case of some datasets like RecSys. IMO, TensorFlow should consist of Class-balanced loss (paper).

I am interested in working on this issue. If you think we should add this, then please assign the issue to me and I can raise PR.

cc @bhack

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