Class ExtractBayesInputsTransformer

  • All Implemented Interfaces:
    PMMLTransformer<RuntimeException>

    public class ExtractBayesInputsTransformer
    extends Object
    implements PMMLTransformer<RuntimeException>

    A PMML transformer that extracts BayesInput elements from Extension elements.

    The support for continuous fields using the 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 Detail

      • ExtractBayesInputsTransformer

        public ExtractBayesInputsTransformer()