Home
Discussions
Community Q&A
Model exporting into other platforms
AshrafRoushdy
Now I trained my Model on RapidMiner, I want to export it and use it on python/R code, any guide/tutorial on this ?
Find more posts tagged with
AI Studio
Accepted answers
kypexin
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.
Telcontar120
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.
All comments
kypexin
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.
Telcontar120
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.
AshrafRoushdy
Thanks Dears, so what could be the possible way to deploy my model built on RapidMiner and integrate it with live systems ?
kypexin
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/
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)