Will Knime support saving or loading the model in pickle format?? I think the python script only support jython code as per documentation can someone tell me whether it will also support python code.

Yes I can. The attached workflow uses Python Random Forest Learner, stores the model as Pickle file and reads it again.

The structure with Object Writer is mainly there to follow a common KNIME structure. Technically it also does work to just do everything within a Python Script node.

Not sure about jython in that context. Pickle could be written as binary (“wb” write binary).

kn_example_python_census_income.knar (1.4 MB)

2 Likes