msuimpress / mlbs_band_selection

Source code of the MLBS algorithm for hyperspectral band selection.
MIT License
4 stars 0 forks source link

Selected Band Numbers? #1

Open aybukesakaci opened 7 months ago

aybukesakaci commented 7 months ago

Hello,

First of all, congratulations. How can I find the selected bands at the end of the training? What band numbers did you get at the end of the training?

Thanks in advance :)

msuimpress commented 5 months ago

Hello! And sorry for the late reply.

The learned weight values for the bands should converge to value 1. You may then fetch the weights from the model and apply thresholding to see which weight values are closer to 1.

msuimpress commented 5 months ago

Hello, @aybukesakaci !

We have updated the repository to include a small code snippet for finding out the selected bands. Please refer to the mlbs_fetch_weights.py file and let us know if you have any more question.