A collection of samples for use with Predix Analytics services.
These are sample analytics written for use with Predix Analytics:
- demo-adder: A simple analytic that takes 2 numbers as input and returns their sum. It has been implemented in Java, Matlab (r2011b), and Python.
- demo-timeseries-adder: Takes 2 arrays of timeseries data and returns a timeseries array that contains the sums at each timestamp. Currently available in Java.
- demo-timeseries-adder-with-model: Takes 2 arrays of timeseries data and returns a timeseries array that contains the sums at each timestamp, adjusted by a threshold value provided in a trained model. Currently available in Java and Python.
- demo-RTM-loco: A reference analytic that is used to calculate locomotive efficiency using a linear regression model. It has been implemented in Java, Matlab (r2011b), and Python.
- miners-rule: A sample analytic that performs a Miner's Rule operation on 2 timeseries arrays and returns a timeseries array. Currently only available in Java.
For more information on developing analytics for use with Predix Analytics, see Analytic Development on Predix IO.
Sample Orchestration Workflows
You can find more information on configuring and running orchestrations on Predix IO.
Once you have created your instance of either the Analytics Catalog or Analytics Runtime service, you can use the sample Postman collections to customize your REST requests and test them out to aid in implementing your applications.
These are sample custom data connector implementations to connect to various data sources