Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Analyze Data with IBM's Watson IoT

DZone's Guide to

How to Analyze Data with IBM's Watson IoT

The data that results from devices and channels within IoT is growing exponentially. Learn how to leverage that data using IBM's Watson IoT.

· IoT Zone
Free Resource

Address your IoT software testing needs – improve quality, security, safety, and compliance across the development lifecycle.

Once you’ve connected your ‘things’ with the Watson Internet of Things platform, the next question is how to process the received data. In some scenarios, the raw data triggers actions immediately, sometimes the data needs to be persisted so that it can be used for historical/descriptive analysis, and sometimes the data is used to perform predictive analytics and prescriptive analytics.

The Watson Internet of Things platform uses MQTT, which is a lightweight and secure publish/subscribe messaging transport protocol. Developers can write applications that talk MQTT to do whatever they like to do. In addition, the Watson Internet of Things platform provides functionality to process data without custom development.

Below is an (incomplete) list of features and patterns how to handle the data from Internet of Things devices.

iotfitstogether

In the easiest case, data can be displayed via cards in the Internet of Things dashboard.

With the IoT Real-Time Insights rules can be defined to invoke actions like IFTTT, Send Email, Webhook and Node-RED. Read the article Perform Actions in IBM Watson IoT Platform Analytics Real-Time Insights for details.

Node-RED is a visual tool for wiring Internet of Things scenarios. Data can be received via an incoming IoT node and custom code can be developed via JavaScript. Node-RED is especially useful in prototypes and first iterations of new IoT applications. Read What is Node-RED? How can it be used for the Internet of Things? for more.

Via the Watson IoT platform, data can be stored automatically either in the TimeSeries database or Cloudant NoSQL database. Applications can access this data asynchronously for descriptive analytics. Read the article Timeseries Data Analysis of IoT events by using Jupyter Notebook for more.

Apache Spark can be used to analyze data and notebooks can be used to visualize data. Additionally the machine learning library in Apache Spark can be used for predictive analytics. Read the articles Realtime IoT data analysis using Apache Spark for more.

Another alternative is the Predictive Analytics service on Bluemix. You can define models and deploy the models to Bluemix to perform predictions. Read Engage Machine Learning for detecting anomalous behaviors of things for more.

There is also a connector between MQTT and Kafka which is provided in the Bluemix Message Hub service. Read Integrating Watson IoT Platform with Message Hub and Apache Spark for more.

For many IoT scenarios serverless computing is interesting. Read my earlier blog and check out the open source project openwhisk_mqtt_feed.

Accelerate the delivery of high-quality software in the connected IoT era through an integrated analysis, testing, security, and analytics platform. Parasoft's comprehensive portfolio of testing toolsautomates time-consuming testing tasks and provides management with intelligent analytics and reporting so they can focus on what matters.

Topics:
iot ,ibm watson ,data analysis

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}