0 votes

Hi can I get an example of vector variables?

There is nothing in the documentation here :

what should be the format? what is the default delimiter?

I have comma delimited text and got this error during training:

 'Invalid vector data in column 'segments': No JSON object could be decoded'

So it looks like it should be JSON format.But can I get an example?



reopened by

1 Answer

0 votes
Best answer

Indeed, the documentation has to be completed.

- It works only on vectors of numerical values
- The vectors should be detected as “array” in prepare steps.
- The format of an array is a string like "[ 1.111 , 2.222, 3]" (json format). To create an array from columns, you can use a formula to concatenate them.

Nicolas Omont
selected by
1,277 questions
1,305 answers
11,834 users

©Dataiku 2012-2018 - Privacy Policy