When using the transform import tool on CSV files with option -columnnames, the resulting ARFF output does not correctly quote the attribute names.
e.g. Given CSV file: headtext1,head text 2 2, 4
The resulting ARFF will be: @RELATION ...
@ATTRIBUTE headtext1 real @ATTRIBUTE head text 2 real ...
Since this violates the attribute descriptor criteria, all further interaction with the dataset will error out during parsing.
The expected result for the above example is: @RELATION ...
@ATTRIBUTE "headtext1" real @ATTRIBUTE "head text 2" real
You seem to have CSS turned off. Please don't fill out this field.
Anonymous
Many thanks! It's fixed, now.
+1 thanks for the fix here Mike
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
When using the transform import tool on CSV files with option -columnnames, the resulting ARFF output does not correctly quote the attribute names.
e.g.
Given CSV file:
headtext1,head text 2
2, 4
The resulting ARFF will be:
@RELATION ...
Since this violates the attribute descriptor criteria, all further interaction with the dataset will error out during parsing.
The expected result for the above example is:
@RELATION ...
Many thanks! It's fixed, now.
+1 thanks for the fix here Mike