public class ExtractBayesInputsTransformer extends java.lang.Object implements PMMLTransformer<java.lang.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() |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.PMML |
apply(org.dmg.pmml.PMML pmml) |
public org.dmg.pmml.PMML apply(org.dmg.pmml.PMML pmml)
apply in interface PMMLTransformer<java.lang.RuntimeException>Copyright © 2025. All Rights Reserved.