I would like to use the ML model learned in KNIME AP and extracted as a pickle file outside of KNIME AP. Is it possible to extract the ml model into a pickle file and use it in another Python script outside of KNIME AP?
@ParkJunYong you can pickle models from the python nodes
The other model types to use with external programs are H2O.ai MOJO (I would recommend that it works across programs like R and Python and operating systems)
Next one would be PMML which has been built for this but faces challenges when using it in real life.
Thank you for advice. I confirmed that I can save model to MOJO when I use h2o for ML.
And, I want to make sure that I can’t transform PMML to pickle right now. Is it right?
PMML is a standard format of its own. Pickle is not a specific format for models but a sort of general storage option for Python objects (including models). So you can use it to bring all sorts of data and objects to (another) Python instance which sometime sometimes also might be a security concern, since often virus scanners are not able to look into the structure. So only use this if you trust the source.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.