Skip to content

Please add OHEM #454

@MaratKhabibullin

Description

@MaratKhabibullin

Please add online hard example mining (OHEM) based on BCE, L1, L2 and other losses for binary classification.

Loss = SumOfPositiveClassLosses / + alpha* SumOfNegativeClassLosses / + beta * SumOfHARDNegativeClassLosses / <number of hard negative class examples>

hard negatives are top K negative class elements with highest loss value.

alpha, beta, K are external parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions