Deploying web service

Now that we have seen how the model is able to predict the outcome of rain, based on temperature and humidity values, let's convert this data model into a web service so that we can use a REST API to pass values to this model and get the results in real time:

  1. From the footer of the experiment, select Set up Web Service | Predictive Web Service.
If this option is disabled, delete any existing web service items in the experiment, save, and then run the experiment, and you should be good to go.
  1. This will take a couple of minutes and generate a new tab in our experiment named Predictive experiment:
  1. By default, the

Get Enterprise Internet of Things Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.