cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Analytics: Prediction Methods Mashup

No ratings

To help explain some of the different ways in which a prediction can be triggered from a Thingworx Analytics Model, I've built a mashup which allows you to easily trigger these types of prediction:

 

- API Realtime Prediction
- Analytics Manager: Event
- API Batch Prediction

 

For information on setting up this environment to use the mashup with some sample data, please see the attached instructions document: Prediction-Methods-Mashup.pdf. The referenced resource files can be found inside resources.zip

 

For more information on prediction scoring please see this related post: How to score new data with ThingWorx Analytics 8.3.x

Comments

In case you get this error message ...

[message: Execution error in service script [PredictStrength] :: TypeError: Cannot call method "RealtimeScore" of null (PredictStrength#29)

... it could be that the Thing representing the Prediction Microservice in your system has a different name to mine (which is AnalyticsServer_PredictionThing). To fix this you can try changing the script Things["ConcreteHelper"].PredictStrength to the attached code.

Here's an updated version of the Prediction Methods Mashup. The documentation (only) has been updated with simplified steps in Analytics Manager.

Version history
Last update:
‎Sep 10, 2018 05:29 PM
Updated by:
Labels (3)
Attachments