Analytics Prediction with time series data
Hi,
I have a time series dataset with the following metadata (json):
[
{
"fieldName": "identifier",
"dataType": "STRING",
"opType": "ENTITY_ID"
},
{
"fieldName": "A",
"dataType": "DOUBLE",
"opType": "CONTINUOUS"
},
{
"fieldName": "B",
"dataType": "DOUBLE",
"opType": "CONTINUOUS"
},
{
"fieldName": "C",
"dataType": "BOOLEAN",
"opType": "BOOLEAN"
},
{
"fieldName": "time",
"opType": "DOUBLE",
"dataType": "TEMPORAL",
"timeSamplingInterval": 1
}
]
With this and some rows of data (csv) I create a time series dataset with the analytics builder. Than I create a model with goal "C". If I publish this model (via ThingPredictor) I get an Analyis Model with a weird datashape.
The datashape have some _A-offset......, _B-offset.........., _C-offset........ fields plus a key and a _predicted_C_mo field. In a this Topic https://community.ptc.com/t5/IoT-AR-Tech-Tips/How-to-import-time-series-predictive-models-generated-by/m-p/535191
So if I don't change the datashape and try to test it I get the following error unter the "Analytics Jobs": "The dataset must contain entity ID and temporal fields in order to perform TimeSeries training. Please set the timeSeries post body field to null to perform standard training or supply a TimeSeries appropriate dataset. Entity ID field index=-1, temporal field index=-1."
How resolve this problem?
PS: Why is PTC not able to provide meaningful documentation about "how analytics / or prediction work"?

