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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

unable to get expected output from ExecuteJob() snippet service.

Ru
14-Alexandrite
14-Alexandrite

unable to get expected output from ExecuteJob() snippet service.

Hi 

I created one model in thingworx analytics which have 0 lookbacksize and 5 lookahead and calling that model in thingworx service by executeJob() and trying get the 5 output data as there are 5 lookahead but unable to get the 5 output data. Can anyone help me to resolve this issue.

ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:cmorfin)

Hi @Ru 

 

Here are some further information:

When you score records against a model with lookahead 5, it will output only one score result for t+5.

It does not output 5 results for t+1, t+2, t+3, t+4 and t+5

If you want to have output for t+1, t+2, t+3, t+4 and t+5, you need to create 5 models each with a different value of lookahead from 1 to 5.

 

I hope that clarifies the output you see

View solution in original post

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

Hi @Ru 

 

I am checking on this, I shall get back to you with some inputs

 

Regards

Christophe

 

cmorfin
19-Tanzanite
(To:cmorfin)

Hi @Ru 

 

Here are some further information:

When you score records against a model with lookahead 5, it will output only one score result for t+5.

It does not output 5 results for t+1, t+2, t+3, t+4 and t+5

If you want to have output for t+1, t+2, t+3, t+4 and t+5, you need to create 5 models each with a different value of lookahead from 1 to 5.

 

I hope that clarifies the output you see

Announcements


Top Tags