Json file for categorical input to Thingworx Analytics
Hi,
I'm currently trying to use ThingWorx Analytics in order to predict the throughput and bottlenecks depending on what the variant mix looks like for a set time interval. The input to the model i categorical which works just fine with the json format:
"fieldName": "Order 1",
"dataType": "INTEGER",
"opType": "CATEGORICAL"
However, the only output/goal that seems to be allowed is continouos. For some reason i just can't format the categorical or ordinal output/goal from the mode. I doesn't even show up as an alternative in the goal list unless it is continouos. I've tried several different ways, all based on this post: https://community.ptc.com/t5/IoT-AR-Tech-Tips/Metadata-in-ThingWorx-Analytics-8-1/m-p/535321#M24. I've tried to use categorical with or without values, and i've tried ordinal with several different values.
Here are two examples i think should've worked for Throughput and Bottleneck detection respectivley:
"fieldName": "Throughput",
"dataType": "STRING",
"opType": "ORDINAL",
"values": ["LOW", "MEDIUM", "HIGH"]
"fieldName": "Primary Bottleneck",
"dataType": "STRING",
"opType": "CATEGORICAL"
I've tried to give throughput numerical ranges aswell, but to no success. I hope someone has some input on the matter.
Thanks in advance.

