Closed ge5738 closed 6 years ago
@ge5738 : Thanks for reporting this issue! Unfortunately, this is very hard to debug and understand. Could you provide a reproducible example for us to look at? Otherwise, it's tricky to help here.
Actuallly i am following the tutorial given on github for SOM. i ahve generated the matrix using som = SOM2.SOM(inputmatrix) and som.learn(verbose=True) command and then save it using numpy.save('smap', som.smap) command. Since this som.smap file contains some negative numbers that's why when i run the command clust = SOMclust.clusters(umat, bmus, som.smap), it gives the following error- TypeError: The numpy boolean negative, the - operator, is not supported, use the ~ operator or the logical_not function instead.
will you please tell me what should i do. Hope you understand my problem,if not then you can also look at http://nbviewer.jupyter.org/gist/bougui505/9955459. your help will be appreciated. Thank you
Like I said in the other thread, this look unrelated to pandas. You might try asking the somcluster developers.
clust = SOMclust.clusters(umat, bmus, som.smap)
Problem description
100.00/100: flooding: 2499/2499, 127828.70, (120, 130)
TypeError Traceback (most recent call last)