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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How top automate model creation?

user539
8-Gravel

How top automate model creation?

I created a model in Thingworx Analytic Builder.Now I should automate retraining the model with additional data without manual process and generate a PMML file.Is there any way ?

 

It will be helpful if explained in detail.

1 ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:user539)

Hi @user539

 

Certainly the easiest would be to use the Retrain menu in ThingWorx Analytics Builder. This obviously implies manual interaction.

If you want to automate it you will need to code some services that call

AnalyticsServer_DataThing.AppendDataset to add new data

AnalyticsServer_TrainingThing.CreateJob to create a new model with this append dataset

AnalyticsServer_TrainingThing.RetrieveModel to retrieve the PMML file.

 

The ThignWorx Analytics API  help can be found at https://support.ptc.com/help/thingworx_hc/thingworx_analytics_8/thingworx_analytics_8/baggage/index.html

 

Hope this helps

Kind regards

Christophe

 

View solution in original post

2 REPLIES 2
cmorfin
19-Tanzanite
(To:user539)

Hi @user539

 

Certainly the easiest would be to use the Retrain menu in ThingWorx Analytics Builder. This obviously implies manual interaction.

If you want to automate it you will need to code some services that call

AnalyticsServer_DataThing.AppendDataset to add new data

AnalyticsServer_TrainingThing.CreateJob to create a new model with this append dataset

AnalyticsServer_TrainingThing.RetrieveModel to retrieve the PMML file.

 

The ThignWorx Analytics API  help can be found at https://support.ptc.com/help/thingworx_hc/thingworx_analytics_8/thingworx_analytics_8/baggage/index.html

 

Hope this helps

Kind regards

Christophe

 

CRArko
17-Peridot
(To:user539)

Hello, user539.

 

Did the advice provided by Christophe help you through this? If so, please mark his response as 'solution accepted,' so others with the same question will be better able to search out the answer.

 

If it didn't help you enough, let us know and we'll keep digging into this.

 

Thank you,

 

-- Craig A.

Top Tags