spectral_attributes = lime.get_spectral_attributes(
hsi_0, # HSI data
band_mask=band_mask, # Band mask
target=1, # class analyzed - K - potassium
band_names=band_names, # Band names
n_samples=10, # Number of perturbation, the more the better explainer is trained but the analsys is slower
)
this example fails, because the spectral attributes fails to be created
Checklist
Reproduction steps
band_mask, band_names = lime.get_band_mask(hsi_0, ["R", ["B", "G"]])
spectral_attributes = lime.get_spectral_attributes( hsi_0, # HSI data band_mask=band_mask, # Band mask target=1, # class analyzed - K - potassium band_names=band_names, # Band names n_samples=10, # Number of perturbation, the more the better explainer is trained but the analsys is slower )
this example fails, because the spectral attributes fails to be created
Error Message and Stack Trace (if applicable)
OS
No response