bug fix: no value data-type np.nan_to_num
This commit is contained in:
parent
52e91ec063
commit
50da909867
|
@ -536,7 +536,7 @@ class Predict(GNet):
|
||||||
self.values = args['values']
|
self.values = args['values']
|
||||||
self.ROW_COUNT = args['row_count']
|
self.ROW_COUNT = args['row_count']
|
||||||
self.oROW_COUNT = self.ROW_COUNT
|
self.oROW_COUNT = self.ROW_COUNT
|
||||||
self.MISSING_VALUES = np.nan
|
self.MISSING_VALUES = np.nan_to_num(np.nan)
|
||||||
if 'no_value' in args and args['no_value'] not in ['na','','NA'] :
|
if 'no_value' in args and args['no_value'] not in ['na','','NA'] :
|
||||||
self.MISSING_VALUES = args['no_value']
|
self.MISSING_VALUES = args['no_value']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue