Small fix

This commit is contained in:
Jason Jafari 2024-06-16 16:58:17 -04:00
parent 09da3b09f9
commit 7f8fdfa05e

View File

@ -77,7 +77,6 @@ def mlModelSavePredict(self, df, typeOfPredict = 'normal'):
modelTypeConfig = supportedModels[modelType]
if typeOfPredict == 'normal':
results = getattr(self, modelTypeConfig['normalPredictorFunction'])(dfAfterTransformation)
print(results)
for value in results:
if isinstance(value, np.ndarray):
res = {}
@ -88,9 +87,6 @@ def mlModelSavePredict(self, df, typeOfPredict = 'normal'):
output.append({
outputsName[0]: value,
})
print(type(value))
print(value)
print(outputsName)
return output
return output