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

"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, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 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.