Skip to main content
1-Visitor
May 5, 2022
Solved

Import PMML to Thingworx Analytics

  • May 5, 2022
  • 1 reply
  • 1024 views

Hi there, 

we're trying to import PMML format model to Analytics and after uploading it, it's state is "not ready for testing". 

We converted the model written in Python to PMML using "JPMML-SkLearn library" version 1.7.4, (see below the model's header). Are we using the wrong version to convert the model?  

<PMML xmlns="http://www.dmg.org/PMML-4_3" xmlns:data="http://jpmml.org/jpmml-model/InlineTable" version="4.3">

<Header>

<Application name="JPMML-SkLearn library" version="1.7.4"/>

<Timestamp>2022-04-29T15:45:33Z</Timestamp>

</Header>

thanks in advance,

Ainhoa

Best answer by nsampat

Hello @AinhoaH,

 

Your initial thought about versioning is correct, the JPMML format you are using is not supported by ThingWorx Analytics.

 

ThingWorx Analytics Server is capable of accepting and importing models that adhere to PMML 4.3 using JPMML 1.3.3 formatting only at this time.

 

Please look at this Knowledge Article has some more details and links related to this topic:

 

https://www.ptc.com/en/support/article/CS317856

 

Regards,

 

Neel

 

1 reply

nsampat17-PeridotAnswer
17-Peridot
May 5, 2022

Hello @AinhoaH,

 

Your initial thought about versioning is correct, the JPMML format you are using is not supported by ThingWorx Analytics.

 

ThingWorx Analytics Server is capable of accepting and importing models that adhere to PMML 4.3 using JPMML 1.3.3 formatting only at this time.

 

Please look at this Knowledge Article has some more details and links related to this topic:

 

https://www.ptc.com/en/support/article/CS317856

 

Regards,

 

Neel