Package org.jpmml.evaluator.mining
Class MiningModelUtil
- java.lang.Object
-
- org.jpmml.evaluator.mining.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 SegmentResultasSegmentResult(org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, java.util.Map<java.lang.String,?> predictions)
-
-
-
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)
-
-