【问题标题】:Java to implement TransformationDictionary PMML modelJava实现TransformationDictionary PMML模型
【发布时间】:2017-07-18 20:57:45
【问题描述】:

我知道有jpmml,但似乎jpmml 仅支持来自PMMLevaluator 部分。

我有一个从 KNIME Category to Number 节点导出的 PMML 模型文件,我需要它在 Java 中。它的一些内容如下图所示:

  <TransformationDictionary>
    <DerivedField displayName="LIVE_STS" name="LIVE_STS*" optype="continuous" dataType="integer">
      <Extension name="summary" extender="KNIME" value="Generated by KNIME - Category2Number node"/>
        <MapValues outputColumn="out" dataType="integer">
          <FieldColumnPair field="LIVE_STS" column="in"/>
          <InlineTable>
            <row>
              <pmml:in>N</pmml:in>
              <pmml:out>0</pmml:out>
            </row>
            <row>
              <pmml:in>L</pmml:in>
              <pmml:out>1</pmml:out>
            </row>
          </InlineTable>
        </MapValues>
      </DerivedField>

以上只是其中的一部分。

java中的任何包都可以实现逻辑吗?或者如果jpmml 可以,请问我应该使用哪个包?

【问题讨论】:

标签: java pmml


【解决方案1】:

我已经在 github 中询问了 jpmml 的成员。

查看此链接:

the_link

它为这个问题提供了一个替代方案,它以另一种方式解决了这个问题。

【讨论】:

    猜你喜欢
    • 2018-10-28
    • 2019-06-23
    • 2016-10-16
    • 2017-10-14
    • 2019-02-22
    • 2018-06-20
    • 1970-01-01
    • 2017-02-24
    • 2011-06-10
    相关资源
    最近更新 更多