Closed anmwinter closed 7 years ago
This was an error caused by
n = float(y.shape[0])
where n was a float and could not make a column of ones which required an integer. This worked in old versions of numpy, but not in the newer ones. It's been resolved. This also led me to some issues where numpy was not rounding Euclidean distances to 0 (it would give small negative numbers, like -1E-17). This has also been resolved.
I haven't been able to work on EcoPy in some time, but I'm hoping to get it on my regular schedule and have regular updates out starting this summer and next fall.
I keep getting this message when running the MDS example in the ecopy tutorial: TypeError: 'float' object cannot be interpreted as an integer
I am running Python 3.6.x with Anaconda with ecopy installed with pip.
Full error message
TypeError Traceback (most recent call last)