Updating pmml file in Analysis Model/ PMML changes don’t take effect in prediction
Hello,
Thingworx provides a way to edit already existing analysis models and their pmml files.
We only want to update/replace the old .pmml file with a new one (updated weights).
However by doing that, the prediction does not change with the new pmml file. We also tried restarting thingworx and thingworx analysis.
We strive to create a generic solution for updating an existing analysis model with a newer version of the pmml model. The input parameters of the used pmml model always stay the same.
For the prediction we are using the following analysis provider: TW.AnalysisServices.AnalyticsServer.AnalyticsServerConnector
What we also tried so far:
When creating a new analysis model, thingworx seems to store the uploaded *.pmml models in the following location:
/ThingworxStorage/repository/TW.AnalysisServices.ModelRepository/Provider/{ModelName}.pmml
However replacing the model in this folder with a newer version (same inputs; only with updated model weights/parameters) does not lead to a change in the prediction. Restarting the platform didn’t work either. Even after deleting the pmml file in the folder the prediction still worked.
Does Thingworx cache and/or store the uploaded models to another location/database?
How can we update and replace an already in-use pmml model without changing any configuration in thingworx?

