public class ExtractBayesInputsTransformer extends Object implements PMMLTransformer<RuntimeException>
A PMML transformer that extracts BayesInput elements from Extension elements.
TargetValueStats element was officially introduced in PMML schema version 4.2.
However, it is possible to encounter this markup in older PMML schema version documents (most notably, produced by R's legacy "pmml" package),
where the "incompatible" BayesInput element is wrapped into an Extension element:
<BayesInputs>
<BayesInput>
<PairCounts/>
</BayesInput>
<Extension>
<BayesInput>
<TargetValueStats/>
</BayesInput>
</Extension>
</BayesInputs>
| Constructor and Description |
|---|
ExtractBayesInputsTransformer() |
public org.dmg.pmml.PMML apply(org.dmg.pmml.PMML pmml)
apply in interface PMMLTransformer<RuntimeException>Copyright © 2022. All rights reserved.