Biterm
Biterm copied to clipboard
Index error
IndexError Traceback (most recent call last)
IndexError: only integers, slices (:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indices
change Z = np.zeros(B)
to Z = np.zeros(B, dtype=np.int8)