dev
Steve Nyemba 3 years ago
parent 88b4fdd861
commit 4b4647d200

@ -233,11 +233,7 @@ class Generator (Learner):
if x : if x :
_log['input']['identical_percentage'] = 100 * (np.divide( (_df[name].dropna() == x).sum(),_df[name].dropna().size)) _log['input']['identical_percentage'] = 100 * (np.divide( (_df[name].dropna() == x).sum(),_df[name].dropna().size))
print (_df[name] == x)
print (_log)
_df[name] = x #np.array(x,dtype=np.int64) if 'int' in _type else np.arry(x,dtype=np.float64) _df[name] = x #np.array(x,dtype=np.int64) if 'int' in _type else np.arry(x,dtype=np.float64)
self.log(**_log) self.log(**_log)
return _df return _df

Loading…
Cancel
Save