-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid stripping whitespaces for feature names (#1368)
* fix: minimal invasive change to avoid stripping whitespaces for feature names Co-authored-by: amastruserio <amastruserio@users.noreply.github.com> * fix: roll back change to work with older and newer xmltodict versions * add: test for whitespaces in features xml --------- Co-authored-by: amastruserio <amastruserio@users.noreply.github.com>
- Loading branch information
1 parent
aa0aca0
commit d0deb6d
Showing
4 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<oml:data_features xmlns:oml="http://openml.org/openml"> | ||
<oml:feature> | ||
<oml:index>0</oml:index> | ||
<oml:name>V1</oml:name> | ||
<oml:data_type>numeric</oml:data_type> | ||
<oml:is_target>false</oml:is_target> | ||
<oml:is_ignore>false</oml:is_ignore> | ||
<oml:is_row_identifier>false</oml:is_row_identifier> | ||
<oml:number_of_missing_values>0</oml:number_of_missing_values> | ||
</oml:feature> | ||
<oml:feature> | ||
<oml:index>1</oml:index> | ||
<oml:name>V42</oml:name> | ||
<oml:data_type>nominal</oml:data_type> | ||
<oml:nominal_value> - 50000.</oml:nominal_value> | ||
<oml:nominal_value> 50000+.</oml:nominal_value> | ||
<oml:is_target>false</oml:is_target> | ||
<oml:is_ignore>false</oml:is_ignore> | ||
<oml:is_row_identifier>false</oml:is_row_identifier> | ||
<oml:number_of_missing_values>0</oml:number_of_missing_values> | ||
</oml:feature> | ||
</oml:data_features> |
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