Leave-one-out using external script, without re-starting RapidMiner every time?
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:
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?