RapidMiner Command line

Problem

How to launch/execute RapidMiner in a command line mode (to execute some process of yours). [Linux & OSX]

Solution

Short Version

From the RapidMiner directory execute:

./scripts/rapidminer  PROCESS //REPOSITORY_NAME/path/to/process

Long Version

First of all, the right place to launch RM is from RM/scripts  (which somehow was not mentioned in the README file).  Launching RM by

java -jar rapidminer.jar

does not set all of the environment variable properly, so may not work quite so well.

To make sure things are working, cd into the RapidMiner directory and execute the following (you may have to do the chmod +x, and also increase the max memory):

./scripts/rapidminer

The following message will be displayed

Usage: com.rapidminer.RapidMinerCommandLine [-f] PROCESS 
PROCESS a repository location containing a process 
-f interpret PROCESS as a file rather than a repository location (deprecated)

You can execute your process as:

./scripts/rapidminer PROCESS //REPOSITORY_NAME/path/to/process

If your repository environment was not set up properly, you may see the following error:

Nov 09, 2012 4:26:18 AM com.rapidminer.RapidMinerCommandLine run
WARNING: Cannot read process setup //REPOSITORY_NAME/path/to/process: Cannot locate entry '//REPOSITORY_NAME/path/to/process': com.rapidminer.repository.RepositoryException: Requested repository HHP does not exist.
java.io.IOException: Cannot locate entry '//REPOSITORY_NAME/path/to/process': com.rapidminer.repository.RepositoryException: Requested repository HHP does not exist.

T0 Fix it you may want to execute ./scripts/RapidMinerGUI  to make sure that your process is visible from RapidMinerGUI.

Another option is to use the:

./scripts/rapidminer -f PROCESS /FILE_PATH/to/process.rmp

You may need to set some other environment options to make sure that cross-referenced files within your process are accessible.

 

References

http://kisswiki.heroku.com/kisswiki/published/RapidMiner+(Data+Mining)

 

 

keywords & search trail

rapid miner rm 5.2 linux windows os x osx commandline mac linux ubuntu

 

Searched for com.rapidminer.RapidMinerCommandLine PROCESS parameters 9:14pm
 
 
     
Command Line Launch “Cannot resolve relative… – rapid-i.com 9:14pm
 
 
Searched for com.rapidminer.RapidMinerCommandLine PROCESS arguments 9:13pm
 
 
     
Newbie: Starting RapidMiner from Command Line – rapid-i.com 9:14pm
 
 
Searched for com.rapidminer.RapidMinerCommandLine PROCESS 9:13pm
 
 
Searched for com.rapidminer.RapidMinerCommandLine -f PROCESS 9:13pm
 
 
Searched for com.rapidminer.RapidMinerCommandLine 9:12pm
 
 
     
http://rapid-i.com/api/rapidminer-4.6/com/rap… 9:12pm
 
 
Searched for java com.rapidminer.gui.RapidMinerGUI [processfile] 9:00pm
 
 
     
Rapid – I – Eclipse – rapid-i.com 9:00pm
 
 
     
no idea how to proceed – rapid-i.com 9:01pm
 
 
Searched for rapidminer 5.2 command line 8:55pm
 
 
     
[SOLVED] start RM process without GUI… – rapid-i.com 9:02pm
 
 
Searched for rapidminer rmp command line 8:47pm
 
 
     
[SOLVED] Can’t launch .rmp file from… – rapid-i.com 8:47pm
 
 
Searched for rapidminer command line arguments 8:34pm
 
 
     
Is it possible to run rapid miner from… – rapid-i.com 8:34pm
 
 
     
Starting Rapidminer without a GUI from… – rapid-i.com 8:34pm
 
 
     
RapidMiner (Data Mining) in KissWiki – heroku.com 8:34pm
 
 
Searched for rapidminer commandline 8:33pm
 
 
Searched for rapidminer command line 8:30pm
 
 
     
Run Rapidminer 5 from the command line… – rivolinet.it

 

 

 

About Neil Rubens

see http://ActiveIntelligence.org
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


*