Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make class_weights a constructor parameter for all classifier models #64

@ogrisel

Description

@ogrisel

Most classifier models have a parameter named class_weights for the fit method. It would be more user friendly to also have it as a constructor parameter to be able to do grid search on it and potentially to have class_weights='auto' enabled by default.

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