Model exporting into other platforms

AshrafRoushdy
New Altair Community Member
Now I trained my Model on RapidMiner, I want to export it and use it on python/R code, any guide/tutorial on this ?
Tagged:
0
Best Answers
-
Hi @AshrafRoushdy
The general answer to you question would be: no, it's usually not possible to export and use the model outside RapidMiner.
However, for some type of models this is possible with some workarounds.
This is one answer to a similar question: https://community.rapidminer.com/discussion/comment/46804#Comment_46804. It mentions tree based models and an relatively easy way to export these; however, I never tried to do it myself with trees.
From my own experience, it is possible export regression models because logically regression is just an equation with certain set of coefficients. I have performed that with both linear and logistic regression, in order to deploy trained models in a specific CRM environment; however this requires coding and the process is not automated, so you still cannot produce a code from RapidMiner model automatically.3 -
There is also an operator to export certain model types using the PMML standard, however, many model types are not supported and there are different versions of PMML so that does not ensure compatibility.
The best option is to do scoring inside RapidMiner and then simply export the results, or expose the scoring process as a web service that can be called via API.2
Answers
-
Hi @AshrafRoushdy
The general answer to you question would be: no, it's usually not possible to export and use the model outside RapidMiner.
However, for some type of models this is possible with some workarounds.
This is one answer to a similar question: https://community.rapidminer.com/discussion/comment/46804#Comment_46804. It mentions tree based models and an relatively easy way to export these; however, I never tried to do it myself with trees.
From my own experience, it is possible export regression models because logically regression is just an equation with certain set of coefficients. I have performed that with both linear and logistic regression, in order to deploy trained models in a specific CRM environment; however this requires coding and the process is not automated, so you still cannot produce a code from RapidMiner model automatically.3 -
There is also an operator to export certain model types using the PMML standard, however, many model types are not supported and there are different versions of PMML so that does not ensure compatibility.
The best option is to do scoring inside RapidMiner and then simply export the results, or expose the scoring process as a web service that can be called via API.2 -
Thanks Dears, so what could be the possible way to deploy my model built on RapidMiner and integrate it with live systems ?
0 -
Hi @AshrafRoushdy
The solution would be to use RapidMiner Server which is primarily supposed for deploying models as web services. Start with this doc: https://rapidminer.com/products/server/0