How can I share RapidMiner Studio processes online or with other people?

IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
edited January 2020 in Knowledge Base
Sometimes you would like to share a RapidMiner process with other people.  For this type of collaboration, it is often a good idea to use RapidMiner server.  But what can you do if you do have access to a Server or if you want to share this process with the general public?

There are in general two ways for sharing processes without using RapidMiner Server:
  1. Saving and loading a process file (.rmp file), or
  2. Copy and paste the XML description of the process.

The second way is also the best way to share processes with other users here on the community forum.

Saving and loading a process file (.rmp file)

Saving the process is quite simple: Go into the "File" menu of RapidMiner and select "Export Process...".  A file chooser dialog will be shown and you can save the process wherever you like.

Note: Don't use "Save Process..." for this which will save the process in a RapidMiner repository instead.

It is equally easy to load such a saved process file.  Just go into the "File" menu of RapidMiner again and select "Import Process...".  In the file chooser dialog, specify the location of your exported process file.

Copy and paste the XML description of the process

Note: This solution requires the "XML" panel which can be opened in the "View" menu and then "Show Panel".  Activate the XML panel if you did not do this before.

Open your process in RapidMiner and open the XML panel. If you can't find it, make sure to follow the note above.

Copy the XML code from there and paste it somewhere else, for example into a forum post here on the community portal.  By the way, if you post your XML here, please use the code environment which you get by clicking on the </> icon in the toolbar of the post.

In order to import such an XML description of your process, e.g. to use a process someone else has posted here in the forum, please follow the following steps:

  1. Create a new process and go the the XML panel (see above).
  2. Clear the view and copy the XML code you got into that panel.
  3. Then press the green checkmark icon on top of the panel.
  4. Switch back to the Process panel.

Don't forget step 3 above - you need to accept the changed XML code first before you will see any changes in the process!

Comments

  • bieha95_nsabieha95_nsa Member Posts: 10 Contributor I

    How to activate XML? because there is no XML after I click the Show Panel.

     

    Please help me. Thanks

  • ryanjohansenryanjohansen Employee, Member Posts: 1 RM Team Member

    Hi, 

     

    It is th every last option when you click show panel, if you are on  full screen it may be hidden. 


    Let me know if that helps!

     

    Ryan

  • ethanlakemanethanlakeman Member Posts: 2 Contributor I
    Spoiler
     

    Hey, 

     

    Is there any way to remove certain words or terms from text contained within a Excel file then save a new version of the file with the same layout but with these words removed?

     

    I am in the process of analysing the text content of Tweets for language analysis and I want to remove external links (https) and tags (@...) before I run it through a different software. 

     

    I have used data to documents, tokenize and delete document parts to find specific word frequencies and remove the above but I was wondering if I could then generate a new excel file with these words removed. 

     

    Thanks

     

    Ethan.  

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn
Sign In or Register to comment.