DecisionTree

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
algorithmName xs:string optional
functionName MINING-FUNCTION required
missingValuePenalty PROB-NUMBER 1.0 optional
missingValueStrategy MISSING-VALUE-STRATEGY none optional
modelName xs:string optional
noTrueChildStrategy NO-TRUE-CHILD-STRATEGY returnNullPrediction optional
splitCharacteristic restriction of xs:string multiSplit optional

Used By

Element Group EmbeddedModel
Element MiningModel

Source

<xs:element name="DecisionTree">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="Output" minOccurs="0"/>
      <xs:element ref="ModelStats" minOccurs="0"/>
      <xs:element ref="Targets" minOccurs="0"/>
      <xs:element ref="LocalTransformations" minOccurs="0"/>
      <xs:element ref="ResultField" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="Node"/>
    </xs:sequence>
    <xs:attribute name="modelName" type="xs:string"/>
    <xs:attribute name="functionName" type="MINING-FUNCTION" use="required"/>
    <xs:attribute name="algorithmName" type="xs:string"/>
    <xs:attribute name="missingValueStrategy" type="MISSING-VALUE-STRATEGY" default="none"/>
    <xs:attribute name="missingValuePenalty" type="PROB-NUMBER" default="1.0"/>
    <xs:attribute name="noTrueChildStrategy" type="NO-TRUE-CHILD-STRATEGY" default="returnNullPrediction"/>
    <xs:attribute name="splitCharacteristic" default="multiSplit">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="binarySplit"/>
          <xs:enumeration value="multiSplit"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample