<?xml version="1.0" encoding="utf-8" standalone="yes"?>
  <PMML version="3.1"
   xmlns="http://www.dmg.org/PMML-3_1"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Header copyright="Copyright(c) 2002 SAS Institute Inc., Cary, NC, USA. All Rights Reserved.">
    <Application name="SAS(r)" version="9.2"/>
    <Timestamp>2009-09-17 14:23:17</Timestamp>
    </Header>
    <DataDictionary numberOfFields="5">
      <DataField name="sepal_length" optype="continuous" dataType="double"/>
      <DataField name="sepal_width" optype="continuous" dataType="double"/>
      <DataField name="petal_length" optype="continuous" dataType="double"/>
      <DataField name="petal_width" optype="continuous" dataType="double"/>
      <DataField name="species" optype="categorical" dataType="string"/>
    </DataDictionary>
    <TransformationDictionary/>
    <NeuralNetwork modelName="The NEURAL Procedure" functionName="classification" algorithmName="Nonlinear Optimization" activationFunction="identity" numberOfLayers="4">
      <MiningSchema>
        <MiningField name="sepal_length" usageType="active" optype="continuous" outliers="asIs" missingValueTreatment="asIs"/>
        <MiningField name="sepal_width" usageType="active" optype="continuous" outliers="asIs" missingValueTreatment="asIs"/>
        <MiningField name="petal_length" usageType="active" optype="continuous" outliers="asIs" missingValueTreatment="asIs"/>
        <MiningField name="petal_width" usageType="active" optype="continuous" outliers="asIs" missingValueTreatment="asIs"/>
        <MiningField name="species" usageType="predicted" optype="categorical" outliers="asIs" missingValueTreatment="asIs"/>
      </MiningSchema>
      <Output>
        <OutputField name="I_species" displayName="Into: species" optype="categorical" dataType="string" targetField="species" feature="predictedDisplayValue"/>
        <OutputField name="U_species" displayName="Unnormalized Into: species" optype="categorical" dataType="string" targetField="species" feature="predictedDisplayValue"/>
        <OutputField name="P_speciesIris_setosa    " displayName="Predicted: species=Iris-setosa" optype="continuous" dataType="double" targetField="species" feature="probability" value="IRIS-SETOSA"/>
        <OutputField name="P_speciesIris_versicolor" displayName="Predicted: species=Iris-versicolor" optype="continuous" dataType="double" targetField="species" feature="probability" value="IRIS-VERSICOLOR"/>
        <OutputField name="P_speciesIris_virginica " displayName="Predicted: species=Iris-virginica" optype="continuous" dataType="double" targetField="species" feature="probability" value="IRIS-VIRGINICA"/>
      </Output>
      <LocalTransformations/>
      <Targets>
        <Target field="species" optype="categorical">
          <TargetValue value="IRIS-SETOSA" rawDataValue="Iris-setosa" priorProbability="0.33333333333333"/>
          <TargetValue value="IRIS-VERSICOLOR" rawDataValue="Iris-versicolor" priorProbability="0.33333333333333"/>
          <TargetValue value="IRIS-VIRGINICA" rawDataValue="Iris-virginica" priorProbability="0.33333333333333"/>
        </Target>
      </Targets>
      <NeuralInputs numberOfInputs="4">
        <NeuralInput id="S_sepal_length">
          <DerivedField name="S_sepal_length" optype="continuous" dataType="double">
            <NormContinuous field="sepal_length">
              <LinearNorm orig="5.84333333333333" norm="0"/>
              <LinearNorm orig="6.84333333333333" norm="1.20763302134096"/>
            </NormContinuous>
          </DerivedField>
        </NeuralInput>
        <NeuralInput id="S_sepal_width">
          <DerivedField name="S_sepal_width" optype="continuous" dataType="double">
            <NormContinuous field="sepal_width">
              <LinearNorm orig="3.054" norm="0"/>
              <LinearNorm orig="4.054" norm="2.30630332039746"/>
            </NormContinuous>
          </DerivedField>
        </NeuralInput>
        <NeuralInput id="S_petal_length">
          <DerivedField name="S_petal_length" optype="continuous" dataType="double">
            <NormContinuous field="petal_length">
              <LinearNorm orig="3.75866666666667" norm="0"/>
              <LinearNorm orig="4.75866666666667" norm="0.56675834664566"/>
            </NormContinuous>
          </DerivedField>
        </NeuralInput>
        <NeuralInput id="S_petal_width">
          <DerivedField name="S_petal_width" optype="continuous" dataType="double">
            <NormContinuous field="petal_width">
              <LinearNorm orig="1.19866666666666" norm="0"/>
              <LinearNorm orig="2.19866666666666" norm="1.3103399393571"/>
            </NormContinuous>
          </DerivedField>
        </NeuralInput>
      </NeuralInputs>
      <NeuralLayer numberOfNeurons="2" activationFunction="radialBasis" normalizationMethod="none">
        <Neuron id="h11" bias="0" width="2.15495792470073" altitude="1.46861595097088">
          <Con from="S_sepal_length" weight="0.47510905591572"/>
          <Con from="S_sepal_width" weight="-0.2427919916382"/>
          <Con from="S_petal_length" weight="-0.25311654403624"/>
          <Con from="S_petal_width" weight="-0.46133787622787"/>
        </Neuron>
        <Neuron id="h12" bias="0" width="0.56910223185945" altitude="0.22904980361342">
          <Con from="S_sepal_length" weight="-0.03923237732362"/>
          <Con from="S_sepal_width" weight="1.10710087352534"/>
          <Con from="S_petal_length" weight="-1.14548127888041"/>
          <Con from="S_petal_width" weight="0.35471159656238"/>
        </Neuron>
      </NeuralLayer>
      <NeuralLayer numberOfNeurons="1" activationFunction="tanh" normalizationMethod="none">
        <Neuron id="h21" bias="-0.61847623561868">
          <Con from="S_sepal_length" weight="-1.43574207948808"/>
          <Con from="S_sepal_width" weight="0.11424873180364"/>
          <Con from="S_petal_length" weight="1.67722156739402"/>
          <Con from="S_petal_width" weight="1.03644561206322"/>
        </Neuron>
      </NeuralLayer>
      <NeuralLayer numberOfNeurons="1" activationFunction="identity" normalizationMethod="none">
        <Neuron id="h31" bias="0.67755524189731">
          <Con from="S_sepal_length" weight="0.96359463766795"/>
          <Con from="S_sepal_width" weight="0.13199023327555"/>
          <Con from="S_petal_length" weight="2.60632748657182"/>
          <Con from="S_petal_width" weight="2.55504888976356"/>
        </Neuron>
      </NeuralLayer>
      <NeuralLayer numberOfNeurons="3" activationFunction="identity" normalizationMethod="softmax">
        <Neuron id="speciesIris_setosa" bias="-0.15557619567338">
          <Con from="h11" weight="-3.01363207697649"/>
          <Con from="h12" weight="1087014.32338588"/>
          <Con from="h21" weight="2.89123358730763"/>
          <Con from="h31" weight="-5.00482944710694"/>
        </Neuron>
        <Neuron id="speciesIris_versicolor" bias="0.57159562852861">
          <Con from="h11" weight="1.70630589163975"/>
          <Con from="h12" weight="600635.464299687"/>
          <Con from="h21" weight="-3.65652295731412"/>
          <Con from="h31" weight="-1.4578758392101"/>
        </Neuron>
        <Neuron id="speciesIris_virginica" bias="0"/>
      </NeuralLayer>
      <NeuralOutputs numberOfOutputs="3">
        <NeuralOutput outputNeuron="speciesIris_setosa">
          <DerivedField optype="categorical" dataType="string">
            <NormDiscrete field="species" method="indicator" value="IRIS-SETOSA"/>
          </DerivedField>
        </NeuralOutput>
        <NeuralOutput outputNeuron="speciesIris_versicolor">
          <DerivedField optype="categorical" dataType="string">
            <NormDiscrete field="species" method="indicator" value="IRIS-VERSICOLOR"/>
          </DerivedField>
        </NeuralOutput>
        <NeuralOutput outputNeuron="speciesIris_virginica">
          <DerivedField optype="categorical" dataType="string">
            <NormDiscrete field="species" method="indicator" value="IRIS-VIRGINICA"/>
          </DerivedField>
        </NeuralOutput>
      </NeuralOutputs>
    </NeuralNetwork>
  </PMML>
