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

How run rapidminer in backgorund from command line

AmekAmek Member Posts: 8 Learner I
Hello, I run process from the command line:
rapidminer-batch.bat -f DIRECTORY/process.rmp from c# code and it takes a lot of time for example running this process from GUI takes 4-5s but in command line about 35-40s. Is there any way to have Studio running in the background so that it doesn't have to be started up every time a process is executed from the command line?

Tagged:

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi,

    thats what we have our AI Hub with always-on JVMs for. Also please keep license agreements in mind when using the CLI.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • AmekAmek Member Posts: 8 Learner I
    edited May 2021
    I installed AI Hub and run it. Now how I can change this line: rapidminer-batch.bat -f DIRECTORY/process.rmp to run it in ai hub?
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Likely you want to expose the process as a WS which submit into the queue. I would recommend that you connect to your customer success manager so we can have a look together.
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • AmekAmek Member Posts: 8 Learner I
    edited May 2021
    I created web service and it runs my process. But its possible to change process file in this service? 
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • AmekAmek Member Posts: 8 Learner I
    edited May 2021
    Now it works thanks! But I have another problem, lets say I have about 10k processes it's possible to store them in ai hub and run automatically? Or Can I change process file in created web service? I want run this service 10k times but each time with a different file process
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi,
    you could just use a macro for the path you want to write. Those get translated to GET-Parameters and then you can sent different parameters from your C#-Code. Be sure not to kill the server with 10k requests though.

    ~Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.