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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Issue of lookback data in Analytics

tallrain
10-Marble

Issue of lookback data in Analytics

Hi,
I have met an issue of lookback data in Analytics.
Now I have a time series TTF data, and trained a model with lookbacksize of 16.
And I mapped input features with nasaTTF_inputThing, with Value Stream configured.
Then I updated the nasaTTF_inputThing to trigger the Analytics Event.
You can see that all features are updated in the same moment.
But the Analysis Job shows that for the input data, 15 of 16 records are from same row, only last record is from previous row of Value Stream.
My understanding is that the so called lookback (with size 16) data should be coming from the previous 16 records of the Value Stream of nasaTTF_inputThing.
This issue makes time series prediction failed.
Can you please help to check - is there anything I missed or configured wrong?
Thanks a lot!

1 ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:tallrain)

Hi @tallrain 

 

The behaviour you see is mostly expected.
Analytics Manager collect the last 16 entry within the timesampling interval, so in your case within the last 16 ms.
Since in most cases you do not have new entries within this time interval, the entries are duplicated.

I recommend reading https://www.ptc.com/en/support/article/CS293493 as it explains how this works.

 

Kind regards

Christophe

 

View solution in original post

4 REPLIES 4
cmorfin
19-Tanzanite
(To:tallrain)

Hi @tallrain 

 

The behaviour you see is mostly expected.
Analytics Manager collect the last 16 entry within the timesampling interval, so in your case within the last 16 ms.
Since in most cases you do not have new entries within this time interval, the entries are duplicated.

I recommend reading https://www.ptc.com/en/support/article/CS293493 as it explains how this works.

 

Kind regards

Christophe

 

Thank you Christophe!

Where can I set Data Sampling Frequency?

cmorfin
19-Tanzanite
(To:tallrain)

The Data Sampling interval comes from the model.
If the model was created in ThingWorx Analytics, then it is defined at the dataset level.

This is the time interval in the csv dataset file for the Temporal field which needs to match the timesamplinginterval defined in the dataset json file. See https://www.ptc.com/en/support/article/CS258345 for some more info on this.

Thank you, it's working now!

Turns out I need to do the setting in dataset configuration(csv and json files).

Top Tags