Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Model exporting into other platforms
AshrafRoushdy
Member Posts: 2 Learner I
in Help
Now I trained my Model on RapidMiner, I want to export it and use it on python/R code, any guide/tutorial on this ?
0
Best Answers
-
kypexin RapidMiner Certified Analyst, Member Posts: 291 UnicornHi @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 -
Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 UnicornThere 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.7
Answers
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/
Vladimir
http://whatthefraud.wtf