BayesInput
class BayesInput(val fieldName: Field, val targetValueStats: Option[TargetValueStats], val pairCounts: Array[PairCounts], val derivedField: Option[DerivedField]) extends PmmlElement
For a discrete field, each BayesInput contains the counts pairing the discrete values of that field with those of the target field. For a continuous field, the BayesInput element lists the distributions obtained for that field with each value of the target field. BayesInput may also be used to define how continuous values are encoded as discrete bins. (Discretization is achieved using DerivedField; only the Discretize mapping for DerivedField may be invoked here).
Note that a BayesInput element encompasses either one TargetValueStats element or one or more PairCounts elements. Element DerivedField can only be used in conjunction with PairCounts.