The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
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