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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Import PMML to Thingworx Analytics

AinhoaH
4-Participant

Import PMML to Thingworx Analytics

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

1 ACCEPTED SOLUTION

Accepted Solutions
nsampat
17-Peridot
(To:AinhoaH)

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

 

View solution in original post

1 REPLY 1
nsampat
17-Peridot
(To:AinhoaH)

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

 

Top Tags