Class EnsureClassificationMethodTransformer

  • All Implemented Interfaces:
    PMMLTransformer<RuntimeException>

    public class EnsureClassificationMethodTransformer
    extends Object
    implements PMMLTransformer<RuntimeException>

    A PMML transformer that ensures the availability of correct SupportVectorMachineModel.getClassificationMethod() attribute.

    Some PMML producer software (most notably, R's legacy "pmml" package) are known to omit this attribute (defaults to the "OneAgainstAll" value) when encoding the SupportVectorMachineModel element following the layout of the "OneAgainstOne" value.
    • Constructor Detail

      • EnsureClassificationMethodTransformer

        public EnsureClassificationMethodTransformer()