Skip to content

[Question]: Missing arguments class_weight and sample_weight in model.fit() #1177

Open
@FrancescoRusticali

Description

@FrancescoRusticali

Description

Hi all,
I noticed that the method model.fit() is missing arguments class_weight and sample_weight (coming from the corresponding Python function), that are used for weighting the loss function, usually to deal with imbalanced datasets.
Is there a reason for that?
Any workaround to apply similar weights (the class weights in particular)?

Thank you very much!

Alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing feature/sAn issue about missing features in the library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions