Save Model from GUI and use it in Python #5896
jonathanhoss
started this conversation in
General
Replies: 1 comment 2 replies
-
You have to put the data into a learner-compatible Also, if you create data that is the same as your train input data (before preprocessing), the model's pickle file, which stores the preprocessing, will be able to apply it to the prediction data too. You can try if this works in Orange canvas, with the Predictions widget: pass it the model and the data to predict (not prepreprocessed). The unpickled model, given the same data, will behave the same also used within a script. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want to save a model which is trained in the GUI and load it afterwards in Python to deploy it as a microservice.
I saved the model as .pkcls File and loaded it into Python. When I try to run the predict function, it gets an ValueError.
How can I access the preprocessing processes that is done in the GUI?
And How do I integrate the preprocessing in my python-script?
Beta Was this translation helpful? Give feedback.
All reactions