source: src/test/java/weka/classifiers/pmml/data/IRIS_TREE.xml @ 10

Last change on this file since 10 was 4, checked in by gnappo, 14 years ago

Import di weka.

File size: 9.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<PMML version="3.0" xmlns="http://www.dmg.org/PMML-3_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3<Header copyright="Copyright (c) Integral Solutions Ltd., 1994 - 2005. All rights reserved.">
4<Application name="Clementine" version="10.0"/>
5<Annotation>Exported with PMML extensions for use with SPSS SmartScore</Annotation>
6</Header>
7<DataDictionary numberOfFields="6">
8<DataField name="sepal_length" optype="continuous" dataType="double">
9<Extension name="storageType" value="numeric"/>
10</DataField>
11<DataField name="sepal_width" optype="continuous" dataType="double">
12<Extension name="storageType" value="numeric"/>
13</DataField>
14<DataField name="petal_length" optype="continuous" dataType="double">
15<Extension name="storageType" value="numeric"/>
16</DataField>
17<DataField name="petal_width" optype="continuous" dataType="double">
18<Extension name="storageType" value="numeric"/>
19</DataField>
20<DataField name="class" optype="categorical" dataType="string">
21<Extension name="storageType" value="string"/>
22<Value value="Iris-setosa" property="valid"/>
23<Value value="Iris-versicolor" property="valid"/>
24<Value value="Iris-virginica" property="valid"/>
25</DataField>
26<DataField name="$RC-SPECIES" optype="continuous" dataType="double">
27<Extension name="storageType" value="numeric"/>
28</DataField>
29</DataDictionary>
30<TreeModel modelName="IRIS_TREE" functionName="classification" algorithmName="C&amp;R Tree">
31<Extension name="missingValueStrategy" value="defaultChild"/>
32<Extension name="missingValuePenalty" value="0.9"/>
33<MiningSchema>
34<MiningField name="sepal_length" usageType="active"/>
35<MiningField name="sepal_width" usageType="active"/>
36<MiningField name="petal_length" usageType="active"/>
37<MiningField name="petal_width" usageType="active"/>
38<MiningField name="class" usageType="predicted"/>
39<MiningField name="$RC-SPECIES" usageType="supplementary"/>
40</MiningSchema>
41<Node score="Iris-setosa" recordCount="150" id="0">
42<Extension name="defaultChild" value="1"/>
43<Extension name="nrCorrect" value="49.666666666666664"/>
44<True/>
45<ScoreDistribution value="Iris-setosa" recordCount="50">
46<Extension name="confidence" value="0.333333333333333"/>
47</ScoreDistribution>
48<ScoreDistribution value="Iris-versicolor" recordCount="50">
49<Extension name="confidence" value="0.333333333333333"/>
50</ScoreDistribution>
51<ScoreDistribution value="Iris-virginica" recordCount="50">
52<Extension name="confidence" value="0.333333333333333"/>
53</ScoreDistribution>
54<Node score="Iris-setosa" recordCount="50" id="1">
55<Extension name="nrCorrect" value="51"/>
56<CompoundPredicate booleanOperator="surrogate">
57<SimplePredicate field="petal_length" operator="lessOrEqual" value="2.45"/>
58<SimplePredicate field="petal_width" operator="lessOrEqual" value="0.8"/>
59<SimplePredicate field="sepal_length" operator="lessOrEqual" value="5.45"/>
60<SimplePredicate field="sepal_width" operator="greaterThan" value="3.35"/>
61<False/>
62</CompoundPredicate>
63<ScoreDistribution value="Iris-setosa" recordCount="50">
64<Extension name="confidence" value="0.962264150943396"/>
65</ScoreDistribution>
66<ScoreDistribution value="Iris-versicolor" recordCount="0">
67<Extension name="confidence" value="0"/>
68</ScoreDistribution>
69<ScoreDistribution value="Iris-virginica" recordCount="0">
70<Extension name="confidence" value="0"/>
71</ScoreDistribution>
72</Node>
73<Node score="Iris-versicolor" recordCount="100" id="2">
74<Extension name="defaultChild" value="0"/>
75<Extension name="nrCorrect" value="50"/>
76<CompoundPredicate booleanOperator="surrogate">
77<SimplePredicate field="petal_length" operator="greaterThan" value="2.45"/>
78<SimplePredicate field="petal_width" operator="greaterThan" value="0.8"/>
79<SimplePredicate field="sepal_length" operator="greaterThan" value="5.45"/>
80<SimplePredicate field="sepal_width" operator="lessOrEqual" value="3.35"/>
81<True/>
82</CompoundPredicate>
83<ScoreDistribution value="Iris-setosa" recordCount="0">
84<Extension name="confidence" value="0"/>
85</ScoreDistribution>
86<ScoreDistribution value="Iris-versicolor" recordCount="50">
87<Extension name="confidence" value="0.495145631067961"/>
88</ScoreDistribution>
89<ScoreDistribution value="Iris-virginica" recordCount="50">
90<Extension name="confidence" value="0.495145631067961"/>
91</ScoreDistribution>
92<Node score="Iris-versicolor" recordCount="54" id="3">
93<Extension name="defaultChild" value="0"/>
94<Extension name="nrCorrect" value="49.81481481481482"/>
95<CompoundPredicate booleanOperator="surrogate">
96<SimplePredicate field="petal_width" operator="lessOrEqual" value="1.75"/>
97<SimplePredicate field="petal_length" operator="lessOrEqual" value="4.75"/>
98<SimplePredicate field="sepal_length" operator="lessOrEqual" value="6.15"/>
99<SimplePredicate field="sepal_width" operator="lessOrEqual" value="2.95"/>
100<True/>
101</CompoundPredicate>
102<ScoreDistribution value="Iris-setosa" recordCount="0">
103<Extension name="confidence" value="0"/>
104</ScoreDistribution>
105<ScoreDistribution value="Iris-versicolor" recordCount="49">
106<Extension name="confidence" value="0.87719298245614"/>
107</ScoreDistribution>
108<ScoreDistribution value="Iris-virginica" recordCount="5">
109<Extension name="confidence" value="0.105263157894737"/>
110</ScoreDistribution>
111<Node score="Iris-versicolor" recordCount="48" id="4">
112<Extension name="nrCorrect" value="47.95833333333333"/>
113<CompoundPredicate booleanOperator="surrogate">
114<SimplePredicate field="petal_length" operator="lessOrEqual" value="4.95"/>
115<SimplePredicate field="sepal_length" operator="lessOrEqual" value="7.1"/>
116<True/>
117</CompoundPredicate>
118<ScoreDistribution value="Iris-setosa" recordCount="0">
119<Extension name="confidence" value="0"/>
120</ScoreDistribution>
121<ScoreDistribution value="Iris-versicolor" recordCount="47">
122<Extension name="confidence" value="0.941176470588235"/>
123</ScoreDistribution>
124<ScoreDistribution value="Iris-virginica" recordCount="1">
125<Extension name="confidence" value="0.03921568627451"/>
126</ScoreDistribution>
127</Node>
128<Node score="Iris-virginica" recordCount="6" id="5">
129<Extension name="defaultChild" value="0"/>
130<Extension name="nrCorrect" value="4.333333333333333"/>
131<CompoundPredicate booleanOperator="surrogate">
132<SimplePredicate field="petal_length" operator="greaterThan" value="4.95"/>
133<SimplePredicate field="sepal_length" operator="greaterThan" value="7.1"/>
134<False/>
135</CompoundPredicate>
136<ScoreDistribution value="Iris-setosa" recordCount="0">
137<Extension name="confidence" value="0"/>
138</ScoreDistribution>
139<ScoreDistribution value="Iris-versicolor" recordCount="2">
140<Extension name="confidence" value="0.333333333333333"/>
141</ScoreDistribution>
142<ScoreDistribution value="Iris-virginica" recordCount="4">
143<Extension name="confidence" value="0.555555555555556"/>
144</ScoreDistribution>
145<Node score="Iris-virginica" recordCount="3" id="6">
146<Extension name="nrCorrect" value="4"/>
147<CompoundPredicate booleanOperator="surrogate">
148<SimplePredicate field="petal_width" operator="lessOrEqual" value="1.55"/>
149<SimplePredicate field="sepal_width" operator="lessOrEqual" value="2.65"/>
150<SimplePredicate field="sepal_length" operator="lessOrEqual" value="6.5"/>
151<SimplePredicate field="petal_length" operator="lessOrEqual" value="5.7"/>
152<True/>
153</CompoundPredicate>
154<ScoreDistribution value="Iris-setosa" recordCount="0">
155<Extension name="confidence" value="0"/>
156</ScoreDistribution>
157<ScoreDistribution value="Iris-versicolor" recordCount="0">
158<Extension name="confidence" value="0"/>
159</ScoreDistribution>
160<ScoreDistribution value="Iris-virginica" recordCount="3">
161<Extension name="confidence" value="0.666666666666667"/>
162</ScoreDistribution>
163</Node>
164<Node score="Iris-versicolor" recordCount="3" id="7">
165<Extension name="nrCorrect" value="2.333333333333333"/>
166<CompoundPredicate booleanOperator="surrogate">
167<SimplePredicate field="petal_width" operator="greaterThan" value="1.55"/>
168<SimplePredicate field="sepal_width" operator="greaterThan" value="2.65"/>
169<SimplePredicate field="sepal_length" operator="greaterThan" value="6.5"/>
170<SimplePredicate field="petal_length" operator="greaterThan" value="5.7"/>
171<False/>
172</CompoundPredicate>
173<ScoreDistribution value="Iris-setosa" recordCount="0">
174<Extension name="confidence" value="0"/>
175</ScoreDistribution>
176<ScoreDistribution value="Iris-versicolor" recordCount="2">
177<Extension name="confidence" value="0.5"/>
178</ScoreDistribution>
179<ScoreDistribution value="Iris-virginica" recordCount="1">
180<Extension name="confidence" value="0.333333333333333"/>
181</ScoreDistribution>
182</Node>
183</Node>
184</Node>
185<Node score="Iris-virginica" recordCount="46" id="8">
186<Extension name="nrCorrect" value="45.95652173913044"/>
187<CompoundPredicate booleanOperator="surrogate">
188<SimplePredicate field="petal_width" operator="greaterThan" value="1.75"/>
189<SimplePredicate field="petal_length" operator="greaterThan" value="4.75"/>
190<SimplePredicate field="sepal_length" operator="greaterThan" value="6.15"/>
191<SimplePredicate field="sepal_width" operator="greaterThan" value="2.95"/>
192<False/>
193</CompoundPredicate>
194<ScoreDistribution value="Iris-setosa" recordCount="0">
195<Extension name="confidence" value="0"/>
196</ScoreDistribution>
197<ScoreDistribution value="Iris-versicolor" recordCount="1">
198<Extension name="confidence" value="0.040816326530612"/>
199</ScoreDistribution>
200<ScoreDistribution value="Iris-virginica" recordCount="45">
201<Extension name="confidence" value="0.938775510204082"/>
202</ScoreDistribution>
203</Node>
204</Node>
205</Node>
206</TreeModel>
207</PMML>
Note: See TracBrowser for help on using the repository browser.