Python learner in rapidminer for deep learning


in Help
Hi
I am trying to use python learner operator for training a deep learning unsupervised model after the i fit my model i am trying to return the model object but getting error cannot pickle weak ref object , i understand we cannot pickle the deeplearning model instead we need to save them in h5 objects. But want to know is the python learner by default trying to pickle the model? If so can we not use python learner for deep learning?
I am trying to use python learner operator for training a deep learning unsupervised model after the i fit my model i am trying to return the model object but getting error cannot pickle weak ref object , i understand we cannot pickle the deeplearning model instead we need to save them in h5 objects. But want to know is the python learner by default trying to pickle the model? If so can we not use python learner for deep learning?
0
Best Answer
-
MichaelKnopf Administrator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 31
RM Data Scientist
See attached a modified version of the first tutorial process of the Python Leaner. It will use the joblib module to store the model next to the process file as model.joblib.The same should work with h5.Please take note that you might need to refresh the repository panel after running the process to see the model file. Also make sure to save the process in a project repository or local repository before running it, otherwise the model will end up in a temporary folder.2
Answers