Models in Vertica
reli
Vertica Customer ✭
I need to analyze a model performance with data from a table in Vertica, I create the model file (pkl) in the python (pls2), and I want to check its performance inside the Vertica (add predict value to an existing table), do you know how to importing, and predicting in Vertica with an outside model file
0
Answers
@reli : we dont support it yet. if you can convert the pkl model to PMML format and load it into vertica. For more information, please visit the below link
https://www.vertica.com/docs/10.1.x/HTML/Content/Authoring/AnalyzingData/MachineLearning/UsingExternalModels/UsingPMML/ImportingPredictingWithPMMLModels.htm
Hi @reli,
The solution can be done by creating a UDF to do it. You have to be sure that the library used by your pickle are added in the dependencies when using the create library statement.
It can be something like:
You can then install the function:
Hope it will help!
Badr
thank you all !!!