<?xml version="1.0" encoding="UTF-8"?>
<PMML version="3.0" xmlns="http://www.dmg.org/PMML-3_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header copyright="Copyright (c) Integral Solutions Ltd., 1994 - 2005. All rights reserved.">
<Application name="Clementine" version="10.0"/>
<Annotation>Exported with PMML extensions for use with SPSS SmartScore</Annotation>
</Header>
<DataDictionary numberOfFields="10">
<DataField name="cp" optype="categorical" dataType="string">
<Extension name="storageType" value="string"/>
<Value value="asympt" property="valid"/>
<Value value="atyp_angina" property="valid"/>
<Value value="non_anginal" property="valid"/>
<Value value="typ_angina" property="valid"/>
</DataField>
<DataField name="restecg" optype="categorical" dataType="string">
<Extension name="storageType" value="string"/>
<Value value="left_vent_hyper" property="valid"/>
<Value value="normal" property="valid"/>
<Value value="st_t_wave_abnormality" property="valid"/>
</DataField>
<DataField name="thal" optype="categorical" dataType="string">
<Extension name="storageType" value="string"/>
<Value value="fixed_defect" property="valid"/>
<Value value="normal" property="valid"/>
<Value value="reversable_defect" property="valid"/>
</DataField>
<DataField name="trestbps" optype="continuous" dataType="integer">
<Extension name="storageType" value="numeric"/>
</DataField>
<DataField name="ca" optype="continuous" dataType="integer">
<Extension name="storageType" value="numeric"/>
</DataField>
<DataField name="slope" optype="categorical" dataType="string">
<Extension name="storageType" value="string"/>
<Value value="down" property="valid"/>
<Value value="flat" property="valid"/>
<Value value="up" property="valid"/>
</DataField>
<DataField name="oldpeak" optype="continuous" dataType="double">
<Extension name="storageType" value="numeric"/>
</DataField>
<DataField name="exang" optype="categorical" dataType="string">
<Extension name="storageType" value="string"/>
<Value value="no" property="valid"/>
<Value value="yes" property="valid"/>
</DataField>
<DataField name="$C-num" optype="categorical" dataType="string">
<Extension name="storageType" value="string"/>
<Value value="&lt;50" property="valid"/>
<Value value="&gt;50_1" property="valid"/>
</DataField>
<DataField name="$CC-num" optype="continuous" dataType="double">
<Extension name="storageType" value="numeric"/>
</DataField>
</DataDictionary>
<RuleSetModel modelName="HEART_RULESET" functionName="classification" algorithmName="RuleSet">
<MiningSchema>
<MiningField name="cp" usageType="active"/>
<MiningField name="restecg" usageType="active"/>
<MiningField name="thal" usageType="active"/>
<MiningField name="trestbps" usageType="active"/>
<MiningField name="ca" usageType="active"/>
<MiningField name="slope" usageType="active"/>
<MiningField name="oldpeak" usageType="active"/>
<MiningField name="exang" usageType="active"/>
<MiningField name="$C-num" usageType="predicted"/>
<MiningField name="$CC-num" usageType="supplementary"/>
</MiningSchema>
<RuleSet defaultScore="&gt;50_1" defaultConfidence="0.5" recordCount="650.0">
<RuleSelectionMethod criterion="weightedSum"/>
<SimpleRule score="&lt;50" recordCount="23" nbCorrect="23.0" confidence="0.96" weight="0.96" id="0">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="cp" operator="equal" value="atyp_angina"/>
<SimplePredicate field="restecg" operator="equal" value="normal"/>
<SimplePredicate field="thal" operator="equal" value="normal"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="22" nbCorrect="21.0" confidence="0.9166666666666666" weight="0.9166666666666666" id="1">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="cp" operator="equal" value="non_anginal"/>
<SimplePredicate field="ca" operator="lessOrEqual" value="0"/>
<SimplePredicate field="trestbps" operator="lessOrEqual" value="122"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="62" nbCorrect="57.0" confidence="0.90625" weight="0.90625" id="2">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="cp" operator="equal" value="non_anginal"/>
<SimplePredicate field="thal" operator="equal" value="normal"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="49" nbCorrect="45.0" confidence="0.9019607843137255" weight="0.9019607843137255" id="3">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="cp" operator="equal" value="non_anginal"/>
<SimplePredicate field="slope" operator="equal" value="up"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="114" nbCorrect="102.0" confidence="0.8879310344827587" weight="0.8879310344827587" id="4">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="thal" operator="equal" value="normal"/>
<SimplePredicate field="ca" operator="lessOrEqual" value="0"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="59" nbCorrect="52.0" confidence="0.8688524590163934" weight="0.8688524590163934" id="5">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="restecg" operator="equal" value="normal"/>
<SimplePredicate field="trestbps" operator="lessOrEqual" value="136"/>
<SimplePredicate field="oldpeak" operator="lessOrEqual" value="0.600000071525574"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="5" nbCorrect="5.0" confidence="0.8571428571428571" weight="0.8571428571428571" id="6">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="exang" operator="equal" value="no"/>
<SimplePredicate field="thal" operator="equal" value="fixed_defect"/>
<SimplePredicate field="ca" operator="lessOrEqual" value="0"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="40" nbCorrect="34.0" confidence="0.8333333333333334" weight="0.8333333333333334" id="7">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="cp" operator="equal" value="atyp_angina"/>
<SimplePredicate field="oldpeak" operator="lessOrEqual" value="0.700000023841858"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&lt;50" recordCount="13" nbCorrect="11.0" confidence="0.8" weight="0.8" id="8">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="cp" operator="equal" value="typ_angina"/>
<SimplePredicate field="trestbps" operator="greaterThan" value="138"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&gt;50_1" recordCount="5" nbCorrect="5.0" confidence="0.8571428571428571" weight="0.8571428571428571" id="9">
<CompoundPredicate booleanOperator="and">
<SimplePredicate field="cp" operator="equal" value="atyp_angina"/>
<SimplePredicate field="restecg" operator="equal" value="left_vent_hyper"/>
<SimplePredicate field="exang" operator="equal" value="no"/>
<SimplePredicate field="ca" operator="greaterThan" value="0"/>
</CompoundPredicate>
</SimpleRule>
<SimpleRule score="&gt;50_1" recordCount="117" nbCorrect="89.0" confidence="0.7563025210084033" weight="0.7563025210084033" id="10">
<SimplePredicate field="thal" operator="equal" value="reversable_defect"/>
</SimpleRule>
<SimpleRule score="&gt;50_1" recordCount="123" nbCorrect="92.0" confidence="0.744" weight="0.744" id="11">
<SimplePredicate field="ca" operator="greaterThan" value="0"/>
</SimpleRule>
<SimpleRule score="&gt;50_1" recordCount="18" nbCorrect="12.0" confidence="0.65" weight="0.65" id="12">
<SimplePredicate field="thal" operator="equal" value="fixed_defect"/>
</SimpleRule>
</RuleSet>
</RuleSetModel>
</PMML>