|
|
@ -604,7 +604,7 @@ class Predict(GNet):
|
|
|
|
|
|
|
|
|
|
|
|
# df = pd.DataFrame(np.round(f)).astype(np.int32)
|
|
|
|
# df = pd.DataFrame(np.round(f)).astype(np.int32)
|
|
|
|
# candidates.append (np.round(_matrix).astype(np.int64))
|
|
|
|
# candidates.append (np.round(_matrix).astype(np.int64))
|
|
|
|
candidates.append( [np.round(row).astype(int) for row in _matrix])
|
|
|
|
candidates.append(np.array([np.round(row).astype(int) for row in _matrix]))
|
|
|
|
# return candidates[0] if len(candidates) == 1 else candidates
|
|
|
|
# return candidates[0] if len(candidates) == 1 else candidates
|
|
|
|
|
|
|
|
|
|
|
|
return candidates
|
|
|
|
return candidates
|
|
|
|