Hi,
In the rdDescriptors.py script there is the function:
def clip_sparse(vect, nbits):
l = [0]*nbits
for i,v in vect.GetNonzeroElements().items():
l[i] = v if v > 255 else 255
return l
I wonder if the greater-than should not be smaller-than: l[i] = v if v < 255 else 255
Also, if np.int8 is used, then the upper limit is 127, right?
Thanks!
Hi, In the
rdDescriptors.py
script there is the function:I wonder if the greater-than should not be smaller-than:
l[i] = v if v < 255 else 255
Also, if np.int8 is used, then the upper limit is 127, right? Thanks!