This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
forked from VowpalWabbit/vowpal_wabbit
-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jackgerrits
reviewed
May 11, 2022
6ec35db
to
ef3b342
Compare
jackgerrits
reviewed
May 19, 2022
9dbf6f9
to
e1546b8
Compare
New feature:
|
bfd461b
to
75afd71
Compare
jackgerrits
reviewed
May 23, 2022
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
…s empty Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Iris.csv
Iris.txt
iris2.csv
multiline.csv
multiline.txt
Build CSV parser with cmake option
-DBUILD_CSV=On
Summary of features supported and tested:
,
, but"
|
or:
are reserved and not allowed to use, since the double quote ("
) is for escape, vertical bar(|
) for separating the namespace and feature names,:
can be used in labels.--csv_separator
symbols that appeared inside the double-quoted cells are not considered as a separator but a normal string character._label
and_tag
by default. For each separated element in header except for tag and label, it may contain namespace and feature name separated by namespace separator, vertical bar(|
).--csv_header
to override the CSV header by providing (namespace,|
and) feature name separated with,
. By default, CSV files are assumed to have a header with feature and/or namespaces names in the CSV first line. You can override it by specifying--csv_header
. Combined with--csv_no_file_header
, we assume that there is no header in the CSV file and under such condition specifying--csv_header
for the header is a must.\r\n\f\v
) as well as some UTF-8 BOM characters(\xef\xbb\xbf
) before separation.\t
to represent tabs. Otherwise, if assigning more than one character, an error will be thrown.--csv_ns_value
to scale the namespace values by specifying the float ratio.e.g. --csv_ns_value=a:0.5,b:0.3,:8, which the namespace a has a ratio of 0.5, b of 0.3, empty namespace of 8, other namespaces of 1.