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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How do I set the lookback parameter in Thingwatcher?

yonkim
9-Granite

How do I set the lookback parameter in Thingwatcher?

Hi~

Before configuring thingwatcher, I know that the Thingwatcher-excel-reader tool verifies the trining data as shown below.

java -jar thingwatcher-excel-reader.jar -i sample-data.xlsx -c Signal -o testing_C.xlsx --values-for-training 20 --max-lookback 6 --min-lookback 2 --certainty 99

I can not get a concept for lookback here.

Why set up a lookback window?

Can I know the number of lookback windows to set the min and max values of the lookback window?

Please let me know about the above~~~.

1 REPLY 1
cmorfin
19-Tanzanite
(To:yonkim)

Hi Yong June

ThingWatcher works a little bit as follow:

  1. - during calibrating mode, a training model is created that represent the correct state of work
  2. - during monitoring, ThingWatcher looks at the last few data to predict the value of the new incoming data.
  3. - it then compare the predicted values with the actual value received and flag it as anomalous or not depending if it fits the prediction or not.

The lookback window represent the amount of data ThingWatcher will use to make the prediction in step 2 above.

A usual range is max lookback 16 , min lookback 8, but this may need tuning.

Note that in the latest release of ThingWatcher it is NOT recommended to set the lookback window, instead ThingWatcher will automatically test a few and keep the optimal one. See the Help Center.

Since you are talking about the Excel tool, I would assume you are using an old beta release of ThingWatcher (The Excel tool no longer exist in latest release), I would recommend that you use the latest release to get the best results.

Hope this helps

Kind regards

Christophe

Top Tags