I'm just using Tensorflow and its tf.learn api to create and train a DNNRegressor model. I have an integer feature column that is multivalent (I can have more than one integer value in that column for each row) and I use tf.contrib.layers.sparse_column_with_integerized_feature for this feature column.
now my question is what is the right delimeter for the multivalent feature column in csv file. for example supose I have a csv that col2 is multivalent feature and its not one hot feature:
1, 2, 1:2:3:4, 5
2, 1, 4:5, 6
as you see I use ':' for seperating integer feature valuse in col2 but it seems its not right and I got this error while running DNNRegressor with declaring this feature column as tf.contrib.layers.sparse_column_with_integerized_feature:
'Value passed to parameter 'x' has DataType string not in list of allowed
values: int32, int64, float32, float64'.
I really appreciate your help