Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 2.65 KB

README.md

File metadata and controls

34 lines (20 loc) · 2.65 KB

Predix Analytics Samples

A collection of samples for use with Predix Analytics services.

Sample Analytics

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.
  • simple-linear-regression:🆕 A sample analytic that performs a simple linear regression with two arrays as input and returns the p-value, r-value, slope, intercept and standard error. Currently only available in Python 3.

For more information on developing analytics for use with Predix Analytics, see Analytic Development on Predix IO.

Sample Orchestration Workflows

Sample Orchestration Workflows

You can find more information on configuring and running orchestrations on Predix IO.

Postman Collections

Sample Postman Collections

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.

Custom Data Connector

Sample Custom Data Connectors

These are sample custom data connector implementations to connect to various data sources