Skip to content

check_class_weight_balanced_classifiers is never run?! #9079

Closed

Description

@amueller

git grep check_class_weight_balanced_classifiers
sklearn/utils/estimator_checks.py:def check_class_weight_balanced_classifiers(name, Classifier, X_train, y_train,

Same for check_class_weight_balanced_linear_classifier

Activity

  1. herilalaina commented on Jul 11, 2017

    @herilalaina
    Contributor

    check_class_weight_balanced_linear_classifier is run at tests/test_common.

    git grep check_class_weight_balanced_linear_classifier
    sklearn/tests/test_common.py:    check_class_weight_balanced_linear_classifier)
    sklearn/tests/test_common.py:        yield _named_check(check_class_weight_balanced_linear_classifier,
    sklearn/utils/estimator_checks.py:def check_class_weight_balanced_linear_classifier(name, Classifier):
    

    I can implement a test for check_class_weight_balanced_classifiers if that is what we want.

  2. amueller commented on Jul 13, 2017

    @amueller
    MemberAuthor

    yeah that's what we want

  3. psorianom commented on Feb 27, 2019

    @psorianom
    Contributor

    Hey !
    I took this issue during the spring. The solution is in PR #13313 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions