Building an analytical application to work with Analytics Framework

Currently, the Analytics Framework service supports Java, MATLAB, and Python. For our example, we will use Python, because it fits our purposes.

The code of the application we are building should contain a special function that will be called by Analytics Framework. This function will accept the input data for analysis. In our case, it is the following time series data: {"timeseries": [[1501664960967,12,3],[1501664961973,48,3]]}.

In our analytical application, we will sum up the input time series data. Consequently, the expected output is {"result": 60}.

To build an application for analyzing time series data, proceed as follows:

  1. Create the aggregator folder. To do this

Get Industrial Internet Application Development 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.