Using Thingworx Analytics to find correlation between fields in a dataset
- July 25, 2018
- 1 reply
- 4004 views
How TW Analytics could be used for finding dependancies / correleations between fields in a dataset.
I.e. for the dataset on the screenshot below I would expect to get insights like
If x2=3 then x1 is guaranteed to be 7
If x5=3 and x4!=2 then x1 is rather likely (80%) to be 8
If x1=6 then x3 is most likely (~85%) to be 7
and so on
The first approach that came to my mind is that this is basically a categorical (ordinal?) data, but currently handling it in TWA is only possible using custom code / mashups etc
So then I thought about adding another boolean column, say, 'target' and set it to '1' for a given value of a field (say, for x1=8) and then dropping the x1 field from the dataset.
This kind of works, but requires a bit of overhead activities.
Do I understand the things right?
Am I missing some other approaches?

