Class TreePredictor

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>

    public class TreePredictor
    extends org.jpmml.python.PythonObject
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      TreePredictor​(java.lang.String module, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] getBinThreshhold()  
      int[] getBitsetIdx()  
      int[] getCount()  
      int[] getFeatureIdx()  
      int[] getLeft()  
      int[] getMissingGoToLeft()  
      int[] getRawLeftCatBitsets()  
      int[] getRight()  
      double[] getThreshold()  
      double[] getValues()  
      int[] isCategorical()  
      int[] isLeaf()  
      • Methods inherited from class org.jpmml.python.PythonObject

        containsKey, delattr, get, get, getArray, getArray, getArray, getArrayList, getArrayList, getArrayShape, getArrayShape, getattr, getattr, getBoolean, getBooleanArray, getClassName, getDict, getEnum, getEnumList, getIdentifiable, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getObjectArray, getObjectList, getOptional, getOptionalBoolean, getOptionalBoolean, getOptionalDict, getOptionalEnum, getOptionalIdentifiable, getOptionalInteger, getOptionalNumber, getOptionalObject, getOptionalScalar, getOptionalString, getOptionalTuple, getPythonModule, getPythonName, getScalar, getString, getStringArray, getStringList, getTuple, getTupleList, hasattr, put, putAll, remove, setattr, setClassName, update
      • Methods inherited from class net.razorvine.pickle.objects.ClassDict

        __setstate__
      • Methods inherited from class java.util.HashMap

        clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Field Detail

      • DTYPE_PREDICTOR_OLD

        public static final java.util.List<java.lang.String> DTYPE_PREDICTOR_OLD
      • DTYPE_PREDICTOR_NEW

        public static final java.util.List<java.lang.String> DTYPE_PREDICTOR_NEW
    • Constructor Detail

      • TreePredictor

        public TreePredictor​(java.lang.String module,
                             java.lang.String name)
    • Method Detail

      • getRawLeftCatBitsets

        public int[] getRawLeftCatBitsets()
      • getValues

        public double[] getValues()
      • getCount

        public int[] getCount()
      • getFeatureIdx

        public int[] getFeatureIdx()
      • getThreshold

        public double[] getThreshold()
      • getMissingGoToLeft

        public int[] getMissingGoToLeft()
      • getLeft

        public int[] getLeft()
      • getRight

        public int[] getRight()
      • isLeaf

        public int[] isLeaf()
      • getBinThreshhold

        public int[] getBinThreshhold()
      • isCategorical

        public int[] isCategorical()
      • getBitsetIdx

        public int[] getBitsetIdx()