Skip to main content
1-Visitor
March 12, 2018
Solved

Analytics - test time series model with data input of file

  • March 12, 2018
  • 1 reply
  • 4125 views

Hello,

 

is it possible to test a time series model by passing the input data row values with a file (test values/file with test data)?

 

Is my understanding correctly, that the upload input file button is only used to provide the possibility to pass an file by url in the input data row values?

Best answer by cmorfin

Hi @skef

 

Based on your previous post you are using ThingPredictor for scoring.

The aim of ThingPredictor is mostly for real time scoring, therefore limited amount of data at one time.

If you have got a new csv file with new rows to score against a previously created model, you should use the Analytics Server scoring feature as opposed to ThingPredictor (they all use the same engine behind the scene)

For this:

In ThingWorx Analytics Builder select Models > select your model > View > Predictive scoring > New > Upload New data, load your csv file with data to be scored. Crete a filter to segregate those new data (otherwise the whole dataset including the training data will be scored).

Once the scoring job is complete you will have a link to download the result.

 

Hope this helps

Christophe

 

 

1 reply

5-Regular Member
March 13, 2018

Hi @skef

 

Can you please confirm whether you are looking to build a fresh model by time series data? In that case you need to have this time series data in .CSV and Json format to upload on Analytics builder and create model. 

 

Regards,

Mohit

skef1-VisitorAuthor
1-Visitor
March 13, 2018

No, I want to test a model based on time series with data from a csv file. Currently, I have to enter the data for every single row manually. I want to put this data in a file and make twx analytics to read the values in the file and test the model based on this data. 

cmorfin19-TanzaniteAnswer
19-Tanzanite
March 13, 2018

Hi @skef

 

Based on your previous post you are using ThingPredictor for scoring.

The aim of ThingPredictor is mostly for real time scoring, therefore limited amount of data at one time.

If you have got a new csv file with new rows to score against a previously created model, you should use the Analytics Server scoring feature as opposed to ThingPredictor (they all use the same engine behind the scene)

For this:

In ThingWorx Analytics Builder select Models > select your model > View > Predictive scoring > New > Upload New data, load your csv file with data to be scored. Crete a filter to segregate those new data (otherwise the whole dataset including the training data will be scored).

Once the scoring job is complete you will have a link to download the result.

 

Hope this helps

Christophe