#demo-adder
3 implementations of a sample analytic for the Predix Analytics platform. Specific details on how to package these analytics can be found within the implementation folders:
- demo-adder-java: A Java implementation of the demo-adder
- demo-adder-matlab-2011b: A Matlab (r2011b) implementation of the demo-adder
- demo-adder-py: A Python implementation of the demo-adder
This analytic takes in 2 numbers and returns their sum. This structure is outlined in this analytic template.
The expected JSON input data format is as follows:
{"number1": 123, "number2": 456}
The JSON output format from the analytic is as follows:
{"result":579}
For more information on developing analytics for the Predix Analytics platform, see Analytic Development in the Predix Analytics Services documentation on Predix IO.