Skip to content

model.n_classes assumed differently for binary classification. #419

@mojganmadadi

Description

@mojganmadadi

Hi,

As far as I saw, for binary classification the model.n_classes should be 2, As input of the args parameters in here shows that. But throughout the code, in several places like loss function initialization and loss calculation it is asumed to be 1 for binary classification. Maybe I am wrong. Could you let me know what is the reason? Is it a bug or is there any reason behind it? thanks in advance.

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