Pages: [1]
  Print  
Author Topic: Leave-one-out using external script, without re-starting RapidMiner every time?  (Read 441 times)
marktwin
Newbie
*
Posts: 1


« on: May 20, 2013, 09:16:53 AM »

Hi,

I was wondering if there was the possibility to keep an instance of Rapidminer (no GUI) always open (maybe with some option from the command line).
I work on Windows and I need to run the program with an XML process many times from a Python script that implements a leave-one-out validation (changing ad-hoc the training set and test set files); I can't use the built-in leave-one-out validation because of the particular form of my dataset.

So basically there is this Python script with a for cycle that calls the rapidminer.bat like this every single time:
for ...
     subprocess.call(['C:\\Program Files\\Rapid-I\\RapidMiner5\\scripts\\rapidminer.bat', '-f', process_file], shell=False)

and the overhead is heavy, because every time Rapidminer restarts from scratch. Is there any way to avoid this?

Thanks.

Mark
Logged
Marcin
Global Moderator
Full Member
*****
Posts: 165


« Reply #1 on: May 21, 2013, 08:36:17 AM »

I would recommend the community edition of RapidAnalytics. This is a full-fledged server which you will start once and where you can schedule processes and much more. A little bit more powerful than a script solution. Smiley
Logged
Katharina Morik
Newbie
*
Posts: 6


« Reply #2 on: May 24, 2013, 06:14:21 PM »

We have implemented an extension that keeps RapidMiner alive while working on the programs in Eclipse: it cleans up and adjusts to the new code changes. Wehope to present that at RComm. Cool
Logged
Pages: [1]
  Print  
 
Jump to: