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:
- Create the aggregator folder. To do this