Class MiningModelUtil


  • public class MiningModelUtil
    extends Object
    • Method Detail

      • asSegmentResult

        public static SegmentResult asSegmentResult​(org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod,
                                                    Map<String,​?> predictions)
      • aggregateValues

        public static <V extends NumberValue<V> aggregateValues​(ValueFactory<V> valueFactory,
                                                                  org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod,
                                                                  org.dmg.pmml.mining.Segmentation.MissingPredictionTreatment missingPredictionTreatment,
                                                                  Number missingThreshold,
                                                                  List<SegmentResult> segmentResults)
      • aggregateVotes

        public static <V extends NumberValueMap<Object,​V> aggregateVotes​(ValueFactory<V> valueFactory,
                                                                                 org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod,
                                                                                 org.dmg.pmml.mining.Segmentation.MissingPredictionTreatment missingPredictionTreatment,
                                                                                 Number missingThreshold,
                                                                                 List<SegmentResult> segmentResults)
      • aggregateProbabilities

        public static <V extends NumberValueMap<Object,​V> aggregateProbabilities​(ValueFactory<V> valueFactory,
                                                                                         org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod,
                                                                                         org.dmg.pmml.mining.Segmentation.MissingPredictionTreatment missingPredictionTreatment,
                                                                                         Number missingThreshold,
                                                                                         List<?> categories,
                                                                                         List<SegmentResult> segmentResults)