bug fix data type and pipeline
This commit is contained in:
parent
0d0ebee9c0
commit
65a1fadfca
|
@ -592,7 +592,8 @@ class Predict(GNet):
|
||||||
# The code below will insure we have some acceptable cardinal relationships between id and synthetic values
|
# The code below will insure we have some acceptable cardinal relationships between id and synthetic values
|
||||||
#
|
#
|
||||||
|
|
||||||
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=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
|
x = df.sum(axis=1).values
|
||||||
|
|
|
@ -125,9 +125,9 @@ class Components :
|
||||||
logger.write({"module":"train","action":"train","input":info})
|
logger.write({"module":"train","action":"train","input":info})
|
||||||
data.maker.train(**_args)
|
data.maker.train(**_args)
|
||||||
|
|
||||||
if set(['drone','autopilot']) in set( list(args.keys())) :
|
if 'autopilot' in ( list(args.keys())) :
|
||||||
print (['drone mode enabled ....'])
|
print (['drone mode enabled ....'])
|
||||||
self.generate(**args)
|
self.generate(args)
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue