# source:orange/Orange/testing/regression/results_reference/discretization.py.txt@10017:cd5aa69e57f7

Revision 10017:cd5aa69e57f7, 4.5 KB checked in by Jure Zbontar <jure.zbontar@…>, 2 years ago (diff)

Merge

Line
1
2Entropy discretization, first 10 examples
3[3.5, '>3.30', 'Iris-setosa']
4[3.0, '(2.90, 3.30]', 'Iris-setosa']
5[3.2, '(2.90, 3.30]', 'Iris-setosa']
6[3.1, '(2.90, 3.30]', 'Iris-setosa']
7[3.6, '>3.30', 'Iris-setosa']
8[3.9, '>3.30', 'Iris-setosa']
9[3.4, '>3.30', 'Iris-setosa']
10[3.4, '>3.30', 'Iris-setosa']
11[2.9, '<=2.90', 'Iris-setosa']
12[3.1, '(2.90, 3.30]', 'Iris-setosa']
13
14Discretized attribute: EnumVariable 'D_sepal width'
15Continuous attribute: FloatVariable 'sepal width'
16Cut-off points: <2.90000009537, 3.29999995232>
17
18Manual construction of Interval discretizer - single attribute
19[5.1, '>5.00', 'Iris-setosa']
20[4.9, '(3.00, 5.00]', 'Iris-setosa']
21[4.7, '(3.00, 5.00]', 'Iris-setosa']
22[4.6, '(3.00, 5.00]', 'Iris-setosa']
23[5.0, '(3.00, 5.00]', 'Iris-setosa']
24[5.4, '>5.00', 'Iris-setosa']
25[4.6, '(3.00, 5.00]', 'Iris-setosa']
26[5.0, '(3.00, 5.00]', 'Iris-setosa']
27[4.4, '(3.00, 5.00]', 'Iris-setosa']
28[4.9, '(3.00, 5.00]', 'Iris-setosa']
29
30Manual construction of Interval discretizer - all attributes
31['>5.00', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
32['(3.00, 5.00]', '<=3.00', '<=3.00', '<=3.00', 'Iris-setosa']
33['(3.00, 5.00]', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
34['(3.00, 5.00]', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
35['(3.00, 5.00]', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
36['>5.00', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
37['(3.00, 5.00]', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
38['(3.00, 5.00]', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
39['(3.00, 5.00]', '<=3.00', '<=3.00', '<=3.00', 'Iris-setosa']
40['(3.00, 5.00]', '(3.00, 5.00]', '<=3.00', '<=3.00', 'Iris-setosa']
41
42
43Discretization with equal width intervals
44D_sepal length: <<4.90, [4.90, 5.50), [5.50, 6.10), [6.10, 6.70), [6.70, 7.30), >7.30>
45D_sepal width: <<2.40, [2.40, 2.80), [2.80, 3.20), [3.20, 3.60), [3.60, 4.00), >4.00>
46D_petal length: <<1.98, [1.98, 2.96), [2.96, 3.94), [3.94, 4.92), [4.92, 5.90), >5.90>
47D_petal width: <<0.50, [0.50, 0.90), [0.90, 1.30), [1.30, 1.70), [1.70, 2.10), >2.10>
48
49 D_sepal length: first interval at 4.900, step 0.600
50                 cutoffs at 4.900, 5.500, 6.100, 6.700, 7.300
51  D_sepal width: first interval at 2.400, step 0.400
52                 cutoffs at 2.400, 2.800, 3.200, 3.600, 4.000
53 D_petal length: first interval at 1.980, step 0.980
54                 cutoffs at 1.980, 2.960, 3.940, 4.920, 5.900
55  D_petal width: first interval at 0.500, step 0.400
56                 cutoffs at 0.500, 0.900, 1.300, 1.700, 2.100
57
58
59
60Quartile (equal frequency) discretization
61D_sepal length: <<=4.95, (4.95, 5.35], (5.35, 5.75], (5.75, 6.25], (6.25, 6.65], >6.65>
62D_sepal width: <<=2.65, (2.65, 2.85], (2.85, 3.05], (3.05, 3.25], (3.25, 3.45], >3.45>
63D_petal length: <<=1.45, (1.45, 1.80], (1.80, 4.25], (4.25, 4.85], (4.85, 5.55], >5.55>
64D_petal width: <<=0.25, (0.25, 1.05], (1.05, 1.35], (1.35, 1.65], (1.65, 2.05], >2.05>
65
66                 cutoffs at 4.950, 5.350, 5.750, 6.250, 6.650
67                 cutoffs at 2.650, 2.850, 3.050, 3.250, 3.450
68                 cutoffs at 1.450, 1.800, 4.250, 4.850, 5.550
69                 cutoffs at 0.250, 1.050, 1.350, 1.650, 2.050
70
71
72Manual construction of EqualWidth - all attributes
73['>5.00', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
74['[4.00, 5.00)', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
75['[4.00, 5.00)', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
76['[4.00, 5.00)', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
77['>5.00', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
78['>5.00', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
79['[4.00, 5.00)', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
80['>5.00', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
81['[4.00, 5.00)', '[2.00, 3.00)', '<2.00', '<2.00', 'Iris-setosa']
82['[4.00, 5.00)', '[3.00, 4.00)', '<2.00', '<2.00', 'Iris-setosa']
83
85sepal length: <5.5, 6.09999990463>
86sepal width: <2.90000009537, 3.29999995232>
87petal length: <1.89999997616, 4.69999980927>
88petal width: <0.600000023842, 1.70000004768>
89
90
91Bi-modal discretization on a binary problem
92sepal length: <5.40000009537, 6.19999980927>
93sepal width: <2.0, 2.90000009537>
94petal length: <1.89999997616, 4.69999980927>
95petal width: <0.600000023842, 1.60000002384>
96
97
98Bi-modal discretization on a binary problem
99sepal length: (5.400, 6.200]
100sepal width: (2.000, 2.900]
101petal length: (1.900, 4.700]
102petal width: (0.600, 1.600]
103
104
105Entropy-based discretization on a binary problem
106sepal length: <5.40000009537, 7.0>
107sepal width: <2.90000009537>
108petal length: <1.89999997616, 4.69999980927>
109petal width: <0.600000023842, 1.70000004768>
Note: See TracBrowser for help on using the repository browser.