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
Are there any opportunity to export model to code that a data scientist also can use it?
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi,
there are some options.
First, the PMML extension: https://marketplace.rapidminer.com/UpdateServer/faces/product_details.xhtml?productId=rmx_pmml
For models specified in the Predictive Model Markup Language, RM can export them into this standard format.
Other types of models like linear regression give you a formula that is trivial to implement in any programming language.
For decision trees, check out the Tree to Rules operator, it will give you a textual if-then-else based description of the tree splits. This is also easy to implement in any programming language.
Many models are too complex for these approaches, however. There is no simple way to export them to R or Python.
If you have this requirement, you can do the following:
1. Implement your process in RapidMiner
2. Use AutoModel (optional) or your experimenting and validation to find the model you prefer
3. Use the same (or similar) parameters for building the model in an R or Python script, save your model there.
This gives you the flexible and fast experimentation approach that is possible with RapidMiner, but allows you to implement models outside if you need them.
Regards,
Balázs5