Class DiscretizationUtil


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object discretize​(org.dmg.pmml.Discretize discretize, java.lang.Double value)  
      static FieldValue discretize​(org.dmg.pmml.Discretize discretize, FieldValue value)  
      static FieldValue mapValue​(org.dmg.pmml.MapValues mapValues, java.util.Map<java.lang.String,​FieldValue> values)  
      static com.google.common.collect.Range<java.lang.Double> toRange​(org.dmg.pmml.Interval interval)  
      • Methods inherited from class java.lang.Object

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

      • discretize

        public static FieldValue discretize​(org.dmg.pmml.Discretize discretize,
                                            FieldValue value)
      • discretize

        public static java.lang.Object discretize​(org.dmg.pmml.Discretize discretize,
                                                  java.lang.Double value)
      • mapValue

        public static FieldValue mapValue​(org.dmg.pmml.MapValues mapValues,
                                          java.util.Map<java.lang.String,​FieldValue> values)
      • toRange

        public static com.google.common.collect.Range<java.lang.Double> toRange​(org.dmg.pmml.Interval interval)