|
|
@ -568,8 +568,9 @@ class Predict(GNet):
|
|
|
|
#
|
|
|
|
#
|
|
|
|
df = ( pd.DataFrame(np.round(f).astype(np.int32)))
|
|
|
|
df = ( pd.DataFrame(np.round(f).astype(np.int32)))
|
|
|
|
p = 0 not in df.sum(axis=1).values
|
|
|
|
p = 0 not in df.sum(axis=1).values
|
|
|
|
|
|
|
|
x = df.sum(axis=1).values
|
|
|
|
if p:
|
|
|
|
print ( [np.sum(x),x.size])
|
|
|
|
|
|
|
|
if np.divide( np.sum(x), x.size) :
|
|
|
|
found.append(df)
|
|
|
|
found.append(df)
|
|
|
|
if len(found) == NTH_VALID_CANDIDATE or i == CANDIDATE_COUNT:
|
|
|
|
if len(found) == NTH_VALID_CANDIDATE or i == CANDIDATE_COUNT:
|
|
|
|
break
|
|
|
|
break
|
|
|
|