JingweiToo / Wrapper-Feature-Selection-Toolbox-Python

This toolbox offers 13 wrapper feature selection methods (PSO, GA, GWO, HHO, BA, WOA, and etc.) with examples. It is simple and easy to implement.
BSD 3-Clause "New" or "Revised" License
251 stars 69 forks source link

ValueError #20

Open kismetllj opened 2 years ago

kismetllj commented 2 years ago

Hiiiiiiii,I wonder why the following error appears after I copy your code and run it:
ValueError: The least populated class in y has only 1 member, which is too few. The minimum number of groups for any class cannot be less than 2.

ttamvn commented 9 months ago

I changed only the dataset and had same issue.