predict_proba does not return probabilities after load_model in VerticaPy >= 1.0.5 #1351
Replies: 3 comments 1 reply
-
|
Hi Okan, Indeed, the load_model function looks deprecated and undocumented in latest versions. You can instead import models using import_models. In my case, commenting out the load_model line returned the prediction column. Can you confirm this is what you needed please ? Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Good catch. There was a slight bug with how the models were loaded for RF and XGB classifiers. Creating a PR to fix this. |
Beta Was this translation helpful? Give feedback.
-
|
This is resolved in: #1358 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We encountered an issue using predict_proba after calling load_model in VerticaPy versions 1.0.5 and 1.1.1.
After loading a saved model using load_model, calling predict_proba executes without error, but does not return the expected probability columns.
Work fine in :
Issue reproducible in :
Reproducible example with VerticaPy 1.0.5 and 1.1.1 :
As a temporary solution while waiting for a fix, saving and loading the model using Python's pickle library works correctly. Example :
Please let us know if :
Best regards,
Okan Kocabiyik
Beta Was this translation helpful? Give feedback.
All reactions