Skip to content

Instantly share code, notes, and snippets.

@benneely
Created May 19, 2015 00:49
Show Gist options
  • Save benneely/4d7870f614dcfc827fa6 to your computer and use it in GitHub Desktop.
Save benneely/4d7870f614dcfc827fa6 to your computer and use it in GitHub Desktop.
PMML Linear Spline Transformation
<DerivedField name="sbp_130"
dataType="double" optype="continuous">
<Apply function="max">
<Constant dataType="integer">0</Constant>
<Apply function="-">
<FieldRef field="sbp_imp"/>
<Constant dataType="integer">130</Constant>
</Apply>
</Apply>
</DerivedField>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment