Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GroupKFold: Use stable sort to produce consistent splits across installs #28464

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 19, 2024

  1. GroupKFold: Use stable sort to produce consistent splits across installs

    The use of np.argsort with unstable sorting results in different splits
    across installations.  This one is hard to write a test for since the
    splits will always be consistent with multiple runs in the same
    environment.  Ideas of how to test this would be appreciated, but
    perhaps it's a simple enough change to motivate without a failing test.
    marikabergengren committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    512191f View commit details
    Browse the repository at this point in the history