-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN values in kmeans (1 cluster, 0 iterations) #2
Comments
That is an odd output/result. A few questions for you:
|
|
it works until :
while gave the problem for values bigger than :
seems it doesn't like the band=0 of my dataset.
removing the band=0 and using the bands from 1 to 7
While using using the bands from 1 to 6
I'm running this on a debian stable 64bit I7 32GB ram |
|
Yes, it appears to be due to the
You might want to replace the I'll consider issuing a warning for data containing |
Thanks!
|
Good idea. I've updated the title to reflect the issue you encountered. I've also labelled this as an enhancement (to warn/fail when |
Thanks a lot for you help! i got my classification working Compared with R, i was using a k-means from the cluster packages: clara(), the results are pretty similar but spectralpython is much faster!!! I've few question related to data I/O in spectralpython , can i ask here ? or should i open a new issue ? |
Nice! Yes, please open a new issue/question if it is beyond the scope of the NaN issue. The Regarding your notebook, I notice you are viewing the
|
Thanks for the hints! I updated the notebook with the last change you suggest me. |
|
Hi,
I'm trying to perform a kmeans classification on a 8 band Envi file.
I can load my image in IPython with spectral, but when i try to perform the kmeans classification, it ends with this output :
Am I doing something wrong ?
Thanks for any help!
The text was updated successfully, but these errors were encountered: