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

Skip to content

Inconsistent results with HalvingGridSearchCV #24901

Open
@fickas

Description

@fickas

Describe the bug

best_params_ does not match top rank_test_scores incv_results_.

Steps/Code to Reproduce

Please see https://stackoverflow.com/q/74408418/4996152

Expected Results

Expect best params to be top ranked result.

Actual Results

The output of best_params_ is not within the top 4 rank_test_scores incv_results_.

Versions

System:
    python: 3.7.15 (default, Oct 12 2022, 19:14:55)  [GCC 7.5.0]
executable: /usr/bin/python3
   machine: Linux-5.10.133+-x86_64-with-Ubuntu-18.04-bionic

Python dependencies:
          pip: 21.1.3
   setuptools: 57.4.0
      sklearn: 1.0.2
        numpy: 1.21.6
        scipy: 1.7.3
       Cython: 0.29.32
       pandas: 1.3.5
   matplotlib: 3.2.2
       joblib: 1.2.0
threadpoolctl: 3.1.0

Built with OpenMP: True

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