JingweiToo / Wrapper-Feature-Selection-Toolbox

This toolbox offers more than 40 wrapper feature selection methods include PSO, GA, DE, ACO, GSA, and etc. They are simple and easy to implement.
BSD 3-Clause "New" or "Revised" License
169 stars 36 forks source link

Can we use the wrapper toolbox for regression problem? #1

Closed hanamthang closed 2 years ago

hanamthang commented 3 years ago

Hello,

Can we apply your code for any regression problem with continuous variables?

Many thanks, Thang

JingweiToo commented 3 years ago

Hi,

Yes, but you need to change the fitness function for your regression model.

On Fri, Dec 25, 2020 at 6:35 AM hanamthang notifications@github.com wrote:

Hello,

Can we apply your code for any regression problem with continuous variables?

Many thanks, Thang

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JingweiToo/Wrapper-Feature-Selection-Toolbox/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKG2GZ6ASTP7JUDCDT6BDDSWO64TANCNFSM4VITMXKQ .

cy601 commented 3 years ago

Hello, I am new to this field, Could you tell me what to do if I want to use another database and how can I use the ML-KNN classifier in this toolbox? Very thanks, Tan Ngee

JingweiToo commented 3 years ago

The fitness function is using KNN (please refer to fitness function)

You can use another dataset but just make sure the format and the data structure are the same as the example provided. Please refer the input in the Readme