Closed fdovila closed 8 years ago
Hello,
Your timing is great because that bug was just fixed in issue #49 and the fix is included in SPy version 0.18, which is available here and on PyPI. Note that classification will be much faster if you load the data into a numpy array (i.e., using img.load()
) but you may not want to if memory is an issue.
Since this is a duplicate, I'm going to close this issue but if - for some reason - it occurs with 0.18, feel free to re-open it.
Thanks! It works. Sorry for the duplicate.
image.reshape in python 2.7 error = "object has no attribute 'reshape' "
Hello Everyone,
Great library BTW. Thanks to Thomas Boggs!
I convert my spectral data from matlab using enviwrite
I read it into python (2.7, I use Enthought Canopy_64bit) with
This is my issue:
Whenever I try to apply a classifier, I run into this error:
Again, after trying Fisher Linear Discriminant: