🎉 🎉 RAPIDMINER 9.10 IS OUT!!! 🎉🎉

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.

CLICK HERE TO DOWNLOAD

Automatically run a process

PrenticePrentice Member Posts: 66  Maven
Hi,

Is it possible to automatically run a process, without using RapidMiner Server?
As in use a code to open RapidMiner, run the preferred process and close it?
And is it possible to 'paste' the results from a process in an existing Excel file in a certain cell without using Advanced Reporting Extension?

Thanks
-Prentice
Tagged:
maciekvarunm1

Best Answer

Answers

  • mschmitzmschmitz Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,094  RM Data Scientist
    Hi,
    why no tserver? It's free for academics.

    Best,
    Martin
    - Head of Data Science Services at RapidMiner -
    Dortmund, Germany
    varunm1Prentice
  • PrenticePrentice Member Posts: 66  Maven
    @varunm1 , ah ok. Thanks anyway.

    @mschmitz, the reason that I don't want tserver is because the end product is for non-academic users and purchasing tserver especially for this is a bit expensive.
  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959  Community Manager
    @Prentice @varunm1 no, I don't know of a documented method to execute RM Studio processes automatically (e.g. on a CRON job).

    Honestly if you use the RM Server PAYG solution on AWS or Azure, the cost is very, very reasonable. How long does your process take to execute? Say it takes 5 min and you run it every day (I used to have a client who was in this exact use case).  PAYG costs $7.05/hour which is $0.12/minute. Say it takes a total of 10 min for the server to boot, run the process, log the results, and shut down. That's $1.20 per execution or around $36/month assuming you execute 1x/day. If your client is not getting more than $36/month of business value out of your process, I cannot imagine why you're deploying it in the first place.

    Remember the cost of deployment includes the development and maintenance of the solution. In my experience, code-based solutions may look cheap (free?) on the surface but there are many, many hidden costs under the hood. Packaged solutions like RapidMiner will look more expensive on the outside but there are no hidden "oh crap my code is broken and the coder is gone and I don't understand his spaghetti code so now I have to hire a new coder to figure this all out..." costs.

    Scott



    varunm1
  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 692   Unicorn
    Hi,

    there is actually a semi-documented and semi-supported way to execute RM processes on the command line.

    Check out the scripts folder in your RapidMiner installation. You'll find rapidminer-batch.sh and rapidminer-batch.bat here, select the one matching your operating system.

    It's a bit of a challenge to get it to execute the process if it has spaces in the path (including "Local Repository"). The following syntax worked for me on Linux:

    scripts/rapidminer-batch.sh '//Local\ Repository/processes/community/Test\ Iris'

    The backslash quotes the following character, here the space. The process was executed correctly but it takes almost as long as starting Studio and running the process there. 

    Check out the short help text of this script by calling it without parameters. It can also execute a file (not a repository entry), and you can even set macro values on the command line. 

    Regards,

    Balázs
    varunm1hughesfleming68
  • varunm1varunm1 Moderator, Member Posts: 1,207   Unicorn
    Thanks, Scott, I agree with what you said, there are many factors in play when pricing a product.

    @BalazsBarany thanks. This is what I am looking for. I can use RM server for free (academic) but want to find any other ways to do this, pure curiosity.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

    sgenzer
Sign In or Register to comment.