bug fix: volume of data

This commit is contained in:
Steve Nyemba 2020-04-13 10:22:32 -05:00
parent 310d599d06
commit e27624b697
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ class Predict(GNet):
# #
# df = pd.DataFrame(np.round(f)).astype(np.int32) # df = pd.DataFrame(np.round(f)).astype(np.int32)
df = pd.DataFrame(np.round(f),dtype=int) df = pd.DataFrame(np.round(f),dtype=np.uint8)
p = 0 not in df.sum(axis=1).values p = 0 not in df.sum(axis=1).values
x = df.sum(axis=1).values x = df.sum(axis=1).values