Skip to content

shudwi/predix-analytics-sample

 
 

Repository files navigation

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.

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

Sample Orchestration Workflows

Sample Orchestration Workflows

For more information on running orchestrations in Predix Analytics, see Using the Analytics Runtime Service 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

About

A collection of samples for use with Predix Analytics services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 86.3%
  • Shell 8.0%
  • Python 4.4%
  • MATLAB 1.3%