You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a time serie that contains two data, let's say 'x' and 'y'. I want to create a monitor that compares these two data. However, it seems that data comparison is not supported.
I tried the following formulas, each time raising a "syntex error" when creating the (discrete) monitor:
"{x > y}"
"{y: *ref, x > *ref}"
"exists[ref]. ({y: *ref, x > *ref})"
also with "implies" relations, nothing works.
Any suggestion?
The text was updated successfully, but these errors were encountered:
You are right. Numerical comparison between two data fields or references are not supported so the parser doesn't accept these formulas. If possible, you can pre-process time-series to insert a Boolean field of "x gt y" to the series and use it as a proposition inside other formulas.
Regarding the rest, such numerical data comparison with references is quite hard due to the symbolic approach chosen in the algorithm. Consider these data references only for categorical variables (string fields only in practice).
And what do you mean exactly by also with "implies" relations, nothing works.? Do you have an example formula you have tried?
I tried to use implies to solve my comparison problem, like "exists[ref]. {y: *ref} => {x > *ref}".
I can clearly write a function that compaires the values and returns a new bool... I just hoped it was not necessary :)
Thanks
Hi,
I have a time serie that contains two data, let's say 'x' and 'y'. I want to create a monitor that compares these two data. However, it seems that data comparison is not supported.
I tried the following formulas, each time raising a "syntex error" when creating the (discrete) monitor:
also with "implies" relations, nothing works.
Any suggestion?
The text was updated successfully, but these errors were encountered: