Package org.jpmml.evaluator.mining
Class MiningModelUtil
- java.lang.Object
-
- org.jpmml.evaluator.mining.MiningModelUtil
-
public class MiningModelUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V extends Number>
ValueMap<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)static <V extends Number>
Value<V>aggregateValues(ValueFactory<V> valueFactory, org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, org.dmg.pmml.mining.Segmentation.MissingPredictionTreatment missingPredictionTreatment, Number missingThreshold, List<SegmentResult> segmentResults)static <V extends Number>
ValueMap<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)static SegmentResultasSegmentResult(org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, Map<String,?> predictions)
-
-
-
Method Detail
-
asSegmentResult
public static SegmentResult asSegmentResult(org.dmg.pmml.mining.Segmentation.MultipleModelMethod multipleModelMethod, Map<String,?> predictions)
-
aggregateValues
public static <V extends Number> Value<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 Number> ValueMap<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 Number> ValueMap<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)
-
-