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

Skip to content

FIX skip tests when estimator has non_deterministic tag - #22318

Merged
thomasjpfan merged 7 commits into
scikit-learn:mainfrom
MaxwellLZH:fix/skip-test-non-deterministic
Feb 15, 2022
Merged

FIX skip tests when estimator has non_deterministic tag#22318
thomasjpfan merged 7 commits into
scikit-learn:mainfrom
MaxwellLZH:fix/skip-test-non-deterministic

Conversation

@MaxwellLZH

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

This is a fix to issue #22313 , where estimators with non_deterministic tag set to True will skip both check_methods_sample_order_invariance and check_methods_subset_invariance tests

@adrinjalali

Copy link
Copy Markdown
Member

Thanks for the PR. This also needs a regression test to test the change.

Comment thread sklearn/utils/tests/test_estimator_checks.py Outdated

@thomasjpfan thomasjpfan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @MaxwellLZH !

LGTM

@thomasjpfan thomasjpfan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an entry to the change log at doc/whats_new/v1.1.rst with tag |Fix|. Like the other entries there, please reference this pull request with :pr: and credit yourself (and other contributors if applicable) with :user:.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants