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