Package org.jpmml.evaluator.naive_bayes
Class ExtractBayesInputsTransformer
- java.lang.Object
-
- org.jpmml.evaluator.naive_bayes.ExtractBayesInputsTransformer
-
- All Implemented Interfaces:
PMMLTransformer<RuntimeException>
public class ExtractBayesInputsTransformer extends Object implements PMMLTransformer<RuntimeException>
A PMML transformer that extracts
The support for continuous fields using theBayesInputelements fromExtensionelements.TargetValueStatselement 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 Summary
Constructors Constructor Description ExtractBayesInputsTransformer()
-
-
-
Method Detail
-
apply
public org.dmg.pmml.PMML apply(org.dmg.pmml.PMML pmml)
- Specified by:
applyin interfacePMMLTransformer<RuntimeException>
-
-