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

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

Import di weka.

File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<PMML xmlns="http://www.dmg.org/PMML-3_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3    xsi:schemaLocation="http://www.dmg.org/PMML-3_2 http://www.dmg.org/v3-2/pmml-3-2.xsd" version="3.2">
4    <Header copyright="Copyright (c) 2008 Zementis, Inc. (www.zementis.com)"
5        description="Neural Network using the El Nino dataset">
6        <Timestamp>Feb 15, 2008</Timestamp>
7    </Header>
8    <DataDictionary numberOfFields="7">
9        <DataField name="airtemp" optype="continuous" dataType="double" />
10        <DataField name="latitude" optype="continuous" dataType="double" />
11        <DataField name="longitude" optype="continuous" dataType="double" />
12        <DataField name="zon_winds" optype="continuous" dataType="double" />
13        <DataField name="mer_winds" optype="continuous" dataType="double" />
14        <DataField name="humidity" optype="continuous" dataType="double" />
15        <DataField name="s_s_temp" optype="continuous" dataType="double" />
16    </DataDictionary>
17    <TransformationDictionary>
18        <DerivedField name="derived_latitude" dataType="double" optype="continuous">
19            <NormContinuous field="latitude">
20                <LinearNorm orig="-8.28" norm="0" />
21                <LinearNorm orig="8.97" norm="1" />
22            </NormContinuous>
23        </DerivedField>
24        <DerivedField name="derived_longitude" dataType="double" optype="continuous">
25            <NormContinuous field="longitude">
26                <LinearNorm orig="-179.87" norm="0" />
27                <LinearNorm orig="179.8" norm="1" />
28            </NormContinuous>
29        </DerivedField>
30        <DerivedField name="derived_zon_winds" dataType="double" optype="continuous">
31            <NormContinuous field="zon_winds">
32                <LinearNorm orig="-8.1" norm="0" />
33                <LinearNorm orig="3.4" norm="1" />
34            </NormContinuous>
35        </DerivedField>
36        <DerivedField name="derived_mer_winds" dataType="double" optype="continuous">
37            <NormContinuous field="mer_winds">
38                <LinearNorm orig="-6.2" norm="0" />
39                <LinearNorm orig="7.1" norm="1" />
40            </NormContinuous>
41        </DerivedField>
42        <DerivedField name="derived_humidity" dataType="double" optype="continuous">
43            <NormContinuous field="humidity">
44                <LinearNorm orig="72.3" norm="0" />
45                <LinearNorm orig="99.4" norm="1" />
46            </NormContinuous>
47        </DerivedField>
48        <DerivedField name="derived_s_s_temp" dataType="double" optype="continuous">
49            <NormContinuous field="s_s_temp">
50                <LinearNorm orig="22.56" norm="0" />
51                <LinearNorm orig="30.15" norm="1" />
52            </NormContinuous>
53        </DerivedField>
54    </TransformationDictionary>
55    <NeuralNetwork modelName="ElNino_NN" functionName="regression" activationFunction="tanh">
56        <MiningSchema>
57            <MiningField name="latitude" />
58            <MiningField name="longitude" />
59            <MiningField name="zon_winds" />
60            <MiningField name="mer_winds" />
61            <MiningField name="humidity" />
62            <MiningField name="s_s_temp" />
63            <MiningField name="airtemp" usageType="predicted" />
64        </MiningSchema>
65        <NeuralInputs>
66            <NeuralInput id="0">
67                <DerivedField dataType="double" optype="continuous">
68                    <FieldRef field="derived_latitude" />
69                </DerivedField>
70            </NeuralInput>
71            <NeuralInput id="1">
72                <DerivedField dataType="double" optype="continuous">
73                    <FieldRef field="derived_longitude" />
74                </DerivedField>
75            </NeuralInput>
76            <NeuralInput id="2">
77                <DerivedField dataType="double" optype="continuous">
78                    <FieldRef field="derived_zon_winds" />
79                </DerivedField>
80            </NeuralInput>
81            <NeuralInput id="3">
82                <DerivedField dataType="double" optype="continuous">
83                    <FieldRef field="derived_mer_winds" />
84                </DerivedField>
85            </NeuralInput>
86            <NeuralInput id="4">
87                <DerivedField dataType="double" optype="continuous">
88                    <FieldRef field="derived_humidity" />
89                </DerivedField>
90            </NeuralInput>
91            <NeuralInput id="5">
92                <DerivedField dataType="double" optype="continuous">
93                    <FieldRef field="derived_s_s_temp" />
94                </DerivedField>
95            </NeuralInput>
96        </NeuralInputs>
97        <NeuralLayer numberOfNeurons="2">
98            <Neuron id="6" bias="-0.731304966362333">
99                <Con from="0" weight="0.522049533017919" />
100                <Con from="1" weight="-0.399145207255475" />
101                <Con from="2" weight="-0.415583881817118" />
102                <Con from="3" weight="-0.309808298543379" />
103                <Con from="4" weight="-0.662674572566683" />
104                <Con from="5" weight="1.72273121708294" />
105            </Neuron>
106            <Neuron id="7" bias="-0.458013009318407">
107                <Con from="0" weight="-0.90117395341808" />
108                <Con from="1" weight="0.756005664311791" />
109                <Con from="2" weight="0.283296146246296" />
110                <Con from="3" weight="0.0416906660285602" />
111                <Con from="4" weight="0.728091902786551" />
112                <Con from="5" weight="1.12654398373213" />
113            </Neuron>
114        </NeuralLayer>
115        <NeuralLayer numberOfNeurons="1" activationFunction="identity">
116            <Neuron id="8" bias="-1.04868830796614">
117                <Con from="6" weight="2.18331080616068" />
118                <Con from="7" weight="1.6406152439558" />
119            </Neuron>
120        </NeuralLayer>
121        <NeuralOutputs>
122            <NeuralOutput outputNeuron="8">
123                <DerivedField name="derived_airtemp" dataType="double" optype="continuous">
124                    <NormContinuous field="airtemp">
125                        <LinearNorm orig="22.74" norm="-3.68637198807044" />
126                        <LinearNorm orig="30.04" norm="2.0133756415681" />
127                    </NormContinuous>
128                </DerivedField>
129            </NeuralOutput>
130        </NeuralOutputs>
131    </NeuralNetwork>
132</PMML>
Note: See TracBrowser for help on using the repository browser.