Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

"Asynchronous Training API"

vipul_kumarvipul_kumar Member Posts: 20 Contributor I
edited June 2019 in Help

Hi

 

I have created  a model in RM Studio and saved it in RM Server. For training the model, I have exposed the training Model as an api Service.
I call the api with required data too train the model. It works great. The only problem is I need to wait for around 10-15 minutes for this training API to respond.

I wasnt this training API to be asynchronous. i.e. I can call the training API and the api can respond immediately saying your request has been submitted. If this is possible, how will I get to know if the training has been completed or not.


Answers

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

    Hi,

     

    the solution for this is Schedule Process. It enables to start an asynchornous job (or many) from within a webservice job.

     

    Cheers,

    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • vipul_kumarvipul_kumar Member Posts: 20 Contributor I

    Hi Martin,

     

    Thanks for the quick response. I understand that using schedule process operator I can expose a web service which when called submits the actual process as a job and returns immediately with a response.

    But, how will I get to know when the actual job completes. Is there any callback or polling to check that

Sign In or Register to comment.