Joe Gregorio | 11690e0 | 2011-10-14 11:05:35 -0400 | [diff] [blame] | 1 | <PMML version="4.0" xsi:schemaLocation="http://www.dmg.org/PMML-4_0 http://www.dmg.org/v4-0/pmml-4-0.xsd" xmlns="http://www.dmg.org/PMML-4_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 2 | <Header copyright="Copyright (c) 2011, Google Inc. All rights reserved."> |
| 3 | <Application name="Google Prediction API Sample" version="1.4"/> |
| 4 | </Header> |
| 5 | <DataDictionary numberOfFields="1"> |
| 6 | <DataField name="X" optype="continuous" dataType="double"/> |
| 7 | </DataDictionary> |
| 8 | <TransformationDictionary> |
| 9 | <DerivedField name="Y1" dataType="double" optype="continuous"> |
| 10 | <Constant>1.0</Constant> |
| 11 | </DerivedField> |
| 12 | <DerivedField name="Y2" dataType="double" optype="continuous"> |
| 13 | <FieldRef field="X"/> |
| 14 | </DerivedField> |
| 15 | <DerivedField name="Y3" dataType="double" optype="continuous"> |
| 16 | <Apply function="pow"> |
| 17 | <FieldRef field="X"/> |
| 18 | <Constant>2.0</Constant> |
| 19 | </Apply> |
| 20 | </DerivedField> |
| 21 | </TransformationDictionary> |
| 22 | </PMML> |
| 23 | |