Replies: 8 comments 6 replies
-
Yes, all models in Orange are supposed to save their preprocessing, so they should work on a separate (non-processed) test set, if its features match. This is implemented as models storing the domain of the data on its input. The domain in turn stores all previous transformations. Then, when a model is given (test) data to predict, the data is first converted into the domain where the model was learned, which in turn applies processing. |
Beta Was this translation helpful? Give feedback.
-
Thanks on your response. So the only condition for this to work on a new (non-preprocessed) data is that the features between the two datasets must match? |
Beta Was this translation helpful? Give feedback.
-
Hi Marko, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
So the warning is because sklearn used by Orange 3 is different to the one in my virtual environment? |
Beta Was this translation helpful? Give feedback.
-
Thanks, and sorry for pestering you! P.S. Lijep pozdrav! |
Beta Was this translation helpful? Give feedback.
-
How can I extract the preprocessing functions from a pickled model? |
Beta Was this translation helpful? Give feedback.
-
Hi,
My understanding is that Orange's Save Model widget saves, among other things, values for the parameters and hyperparameters of a trained model.
What happens if the model also uses Preprocessor widget as one of its inputs (please see image attached)? Will the preprocessing methods, together with their parameters (e.g. min and max if Normalize [0,1] is used), also be part of .pkcls file?
If yes, then is it possible to use such model (via Load Model widget) on a not previously pre-processed data (e.g. test data or data for which we want to make predictions)? Would the model in .pkcls file apply the pre-processing methods (and their appropriate parameters) before it makes predictions with the data?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions