Small fix
This commit is contained in:
parent
09da3b09f9
commit
7f8fdfa05e
@ -77,7 +77,6 @@ def mlModelSavePredict(self, df, typeOfPredict = 'normal'):
|
|||||||
modelTypeConfig = supportedModels[modelType]
|
modelTypeConfig = supportedModels[modelType]
|
||||||
if typeOfPredict == 'normal':
|
if typeOfPredict == 'normal':
|
||||||
results = getattr(self, modelTypeConfig['normalPredictorFunction'])(dfAfterTransformation)
|
results = getattr(self, modelTypeConfig['normalPredictorFunction'])(dfAfterTransformation)
|
||||||
print(results)
|
|
||||||
for value in results:
|
for value in results:
|
||||||
if isinstance(value, np.ndarray):
|
if isinstance(value, np.ndarray):
|
||||||
res = {}
|
res = {}
|
||||||
@ -88,9 +87,6 @@ def mlModelSavePredict(self, df, typeOfPredict = 'normal'):
|
|||||||
output.append({
|
output.append({
|
||||||
outputsName[0]: value,
|
outputsName[0]: value,
|
||||||
})
|
})
|
||||||
print(type(value))
|
|
||||||
print(value)
|
|
||||||
print(outputsName)
|
|
||||||
return output
|
return output
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user