"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,503 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.