Class MiningModelUtil


  • public class MiningModelUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <V extends java.lang.Number>
      ValueMap<java.lang.Object,​V>
      aggregateProbabilities​(ValueFactory<V> valueFactory, org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, org.dmg.pmml.mining.Segmentation.MissingPredictionTreatment missingPredictionTreatment, java.lang.Number missingThreshold, java.util.List<?> categories, java.util.List<SegmentResult> segmentResults)  
      static <V extends java.lang.Number>
      Value<V>
      aggregateValues​(ValueFactory<V> valueFactory, org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, org.dmg.pmml.mining.Segmentation.MissingPredictionTreatment missingPredictionTreatment, java.lang.Number missingThreshold, java.util.List<SegmentResult> segmentResults)  
      static <V extends java.lang.Number>
      ValueMap<java.lang.Object,​V>
      aggregateVotes​(ValueFactory<V> valueFactory, org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, org.dmg.pmml.mining.Segmentation.MissingPredictionTreatment missingPredictionTreatment, java.lang.Number missingThreshold, java.util.List<SegmentResult> segmentResults)  
      static SegmentResult asSegmentResult​(org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, java.util.Map<java.lang.String,​?> predictions)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • asSegmentResult

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

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

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

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