Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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?
Solved! Go to Solution.
@Max3 ,
Thank you for posting to the PTC Community.
I see that you have already opened a case with Technical Support requesting the same information.
In short, if you want to update an existing model, a new model needs to be re-created/uploaded in Analytics Manager and Analysis Event re-created.
We will also reach out to you in the case that you have opened.
Regards,
Neel
@Max3 ,
Thank you for posting to the PTC Community.
I see that you have already opened a case with Technical Support requesting the same information.
In short, if you want to update an existing model, a new model needs to be re-created/uploaded in Analytics Manager and Analysis Event re-created.
We will also reach out to you in the case that you have opened.
Regards,
Neel