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

Error #11

Closed Iqra-Yousaf closed 2 years ago

Iqra-Yousaf commented 3 years ago

parameter

IndexErrorTraceback (most recent call last)

in () 1 2 print("parameter") ----> 3 jfs(xtrain, ytrain, opts) C:\Users\karkorum computer\FS\FS\hho.pyc in jfs(xtrain, ytrain, opts) 59 # Parameters 60 ub = 1 ---> 61 lb = 0 62 thres = 0.5 63 beta = 1.5 # levy component IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
JingweiToo commented 3 years ago

Please specify the issue more clearly. Is that your dataset similar structure to the example?

Iqra-Yousaf commented 2 years ago

Hello sir, i did not check your mail. I am working on bug severity prediction with textual datset. I am using Convolutional neural network model. I want to use HHO for optimizing hyperparameter of CNN. can you guide me how to use hho for optimizing hyperparameters.

On Fri, 19 Nov 2021, 5:02 am Jingwei Too, @.***> wrote:

Closed #11 https://github.com/JingweiToo/Wrapper-Feature-Selection-Toolbox-Python/issues/11 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JingweiToo/Wrapper-Feature-Selection-Toolbox-Python/issues/11#event-5642154104, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALM3KM4I6HQQXNFZANTFY5DUMWH25ANCNFSM5DNKTYWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.