Skip to content

Commit 42ed9af

Browse files
committed
add abck test files
1 parent f3114b9 commit 42ed9af

11 files changed

Lines changed: 146 additions & 144 deletions

File tree

tests/files/misc/trace.arff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,6 @@
514514
0,9,47,1.0,false,52803.95318629395,0.48840311594449337,2.781026953358017,0.24387504713836486,0,0.0010179658001682542,'\"median\"'
515515
0,9,48,0.916518650089,false,4.212729480184038,-0.4237018370034965,1.3846048401020126,1.2806750694258338,1,0.0013379343290737073,'\"most_frequent\"'
516516
0,9,49,1.0,false,8255.254357596426,0.15512460844121778,2.632883048107603,9.685313873205853,1,9.29186571775498e-06,'\"median\"'
517-
%
518-
%
519-
%
517+
%
518+
%
519+
%
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<oml:error xmlns:oml="http://openml.org/openml">
22
<oml:code>353</oml:code>
33
<oml:message>Dataset is not owned by you</oml:message>
4-
</oml:error>
4+
</oml:error>

tests/files/mock_responses/datasets/data_description_61.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
<oml:id>61</oml:id>
33
<oml:name>iris</oml:name>
44
<oml:version>1</oml:version>
5-
<oml:description>**Author**: R.A. Fisher
6-
**Source**: [UCI](https://archive.ics.uci.edu/ml/datasets/Iris) - 1936 - Donated by Michael Marshall
7-
**Please cite**:
5+
<oml:description>**Author**: R.A. Fisher
6+
**Source**: [UCI](https://archive.ics.uci.edu/ml/datasets/Iris) - 1936 - Donated by Michael Marshall
7+
**Please cite**:
88

9-
**Iris Plants Database**
9+
**Iris Plants Database**
1010
This is perhaps the best known database to be found in the pattern recognition literature. Fisher's paper is a classic in the field and is referenced frequently to this day. (See Duda &amp; Hart, for example.) The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other.
1111

12-
Predicted attribute: class of iris plant.
13-
This is an exceedingly simple domain.
14-
12+
Predicted attribute: class of iris plant.
13+
This is an exceedingly simple domain.
14+
1515
### Attribute Information:
1616
1. sepal length in cm
1717
2. sepal width in cm
1818
3. petal length in cm
1919
4. petal width in cm
20-
5. class:
20+
5. class:
2121
-- Iris Setosa
2222
-- Iris Versicolour
2323
-- Iris Virginica</oml:description>

tests/files/org/openml/test/datasets/-1/qualities.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,4 @@
7777
<oml:value>0.004999750012499375</oml:value>
7878
</oml:quality>
7979
</oml:data_qualities>
80+

tests/files/org/openml/test/datasets/2/dataset.arff

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
% 1. Title of Database: Annealing Data
2-
%
2+
%
33
% 2. Source Information: donated by David Sterling and Wray Buntine.
4-
%
4+
%
55
% 3. Past Usage: unknown
6-
%
6+
%
77
% 4. Relevant Information:
88
% -- Explanation: I suspect this was left by Ross Quinlan in 1987 at the
99
% 4th Machine Learning Workshop. I'd have to check with Jeff Schlimmer
1010
% to double check this.
11-
%
11+
%
1212
% 5. Number of Instances: 798
13-
%
13+
%
1414
% 6. Number of Attributes: 38
1515
% -- 6 continuously-valued
1616
% -- 3 integer-valued
1717
% -- 29 nominal-valued
18-
%
18+
%
1919
% 7. Attribute Information:
2020
% 1. family: --,GB,GK,GS,TN,ZA,ZF,ZH,ZM,ZS
2121
% 2. product-type: C, H, G
@@ -56,11 +56,11 @@
5656
% 37. bore: 0000,0500,0600,0760
5757
% 38. packing: -,1,2,3
5858
% classes: 1,2,3,4,5,U
59-
%
59+
%
6060
% -- The '-' values are actually 'not_applicable' values rather than
6161
% 'missing_values' (and so can be treated as legal discrete
6262
% values rather than as showing the absence of a discrete value).
63-
%
63+
%
6464
% 8. Missing Attribute Values: Signified with "?"
6565
% Attribute: Number of instances missing its value:
6666
% 1 0
@@ -102,7 +102,7 @@
102102
% 37 0
103103
% 38 789
104104
% 39 0
105-
%
105+
%
106106
% 9. Distribution of Classes
107107
% Class Name: Number of Instances:
108108
% 1 8
@@ -113,7 +113,7 @@
113113
% U 34
114114
% ---
115115
% 798
116-
%
116+
%
117117
@relation anneal.ORIG
118118
@attribute 'family' { GB , GK , GS , TN , ZA , ZF , ZH , ZM , ZS }
119119
@attribute 'product-type' { C , H , G }

tests/files/org/openml/test/datasets/2/description.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22
<oml:id>2</oml:id>
33
<oml:name>anneal</oml:name>
44
<oml:version>1</oml:version>
5-
<oml:description>**Author**:
6-
**Source**: Unknown -
7-
**Please cite**:
5+
<oml:description>**Author**:
6+
**Source**: Unknown -
7+
**Please cite**:
88

99
1. Title of Database: Annealing Data
10-
10+
1111
2. Source Information: donated by David Sterling and Wray Buntine.
12-
12+
1313
3. Past Usage: unknown
14-
14+
1515
4. Relevant Information:
1616
-- Explanation: I suspect this was left by Ross Quinlan in 1987 at the
1717
4th Machine Learning Workshop. I'd have to check with Jeff Schlimmer
1818
to double check this.
19-
19+
2020
5. Number of Instances: 798
21-
21+
2222
6. Number of Attributes: 38
2323
-- 6 continuously-valued
2424
-- 3 integer-valued
2525
-- 29 nominal-valued
26-
26+
2727
7. Attribute Information:
2828
1. family: --,GB,GK,GS,TN,ZA,ZF,ZH,ZM,ZS
2929
2. product-type: C, H, G
@@ -64,11 +64,11 @@
6464
37. bore: 0000,0500,0600,0760
6565
38. packing: -,1,2,3
6666
classes: 1,2,3,4,5,U
67-
67+
6868
-- The '-' values are actually 'not_applicable' values rather than
6969
'missing_values' (and so can be treated as legal discrete
7070
values rather than as showing the absence of a discrete value).
71-
71+
7272
8. Missing Attribute Values: Signified with &quot;?&quot;
7373
Attribute: Number of instances missing its value:
7474
1 0
@@ -110,7 +110,7 @@
110110
37 0
111111
38 789
112112
39 0
113-
113+
114114
9. Distribution of Classes
115115
Class Name: Number of Instances:
116116
1 8
@@ -124,7 +124,7 @@
124124
<oml:format>ARFF</oml:format>
125125
<oml:upload_date>2014-04-06T23:19:24</oml:upload_date>
126126
<oml:licence>Public</oml:licence> <oml:url>http://www.openml.org/data/download/1666876/phpFsFYVN</oml:url>
127-
127+
128128
<oml:file_id>1666876</oml:file_id> <oml:default_target_attribute>class</oml:default_target_attribute> <oml:version_label>1</oml:version_label> <oml:tag>hallo</oml:tag><oml:tag>study_1</oml:tag><oml:tag>uci</oml:tag><oml:tag>welt</oml:tag> <oml:visibility>public</oml:visibility> <oml:status>active</oml:status>
129129
<oml:md5_checksum>4eaed8b6ec9d8211024b6c089b064761</oml:md5_checksum>
130130
</oml:data_set_description>

0 commit comments

Comments
 (0)