Commit 7cff6b01 authored by Fize Jacques's avatar Fize Jacques

debug matrix saving

parent 70bfd2a5
......@@ -174,11 +174,11 @@ cdef class Base:
"""
if self.type_alg == 1:
if not self.normalized:
matrix=minmax_scale(matrix)
matrix=np.ma.getdata(minmax_scale(matrix))
return matrix
else:
if not self.normalized:
matrix=minmax_scale(matrix)
matrix=np.ma.getdata(minmax_scale(matrix))
return 1-matrix
cpdef np.ndarray similarity(self, np.ndarray matrix):
......@@ -198,7 +198,7 @@ cdef class Base:
return matrix
else:
if not self.normalized:
matrix=minmax_scale(matrix)
matrix=np.ma.getdata(minmax_scale(matrix))
return 1-matrix
def mcs(self, G, H):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment