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
249 stars 69 forks source link

Wrapper feature selection for multi-class and continuous variables? #1

Closed hanamthang closed 3 years ago

hanamthang commented 3 years ago

Hi there,

Thank you for your hard works on Python version of the wrapper feature selection. As I understood, all the codes are for binary problems. You said we can use these codes adapting to multi-class and/or continuous variables but need to rewrite all functions.

So, will you release another version of this kind of wrapper feature selection for multi-class and/or continuous variables in the future? We used the Genetic Algorithm and PSO previously, and loving to extend the experiments to other metaheuristic algorithms.

To the best, Thang

JingweiToo commented 3 years ago

Hi,

The demonstrations provided are binary problems. However, these tools are also applicable to the multiclass problem too.

hanamthang commented 3 years ago

Hi JingweiToo,

I just tested your codes with data for multiclasses (4 classes) problems and it worked quite smoothly. Do we need to change something in the codes of HHO.py (for example) to completely adapt to multiclasses problems?

Many thanks, Thang

JingweiToo commented 3 years ago

Hi,

I think nothing to change for multi-class because I am using the sklearn toolkit for the fitness function

hanamthang commented 3 years ago

All clear.

Many thanks. Thang