Package sklearn.tree

Class Tree

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

    public class Tree
    extends org.jpmml.python.CythonObject
    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>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.List<java.lang.String> DTYPE_TREE_NEW  
      static java.util.List<java.lang.String> DTYPE_TREE_OLD  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void __init__​(java.lang.Object[] args)  
      int[] getChildrenLeft()  
      int[] getChildrenRight()  
      int[] getFeature()  
      int[] getMissingGoToLeft()  
      int[] getNodeSamples()  
      double[] getThreshold()  
      double[] getValues()  
      • Methods inherited from class org.jpmml.python.CythonObject

        __getstate__, __setstate__, __setstate__, __setstate__
      • 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 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_TREE_OLD

        public static final java.util.List<java.lang.String> DTYPE_TREE_OLD
      • DTYPE_TREE_NEW

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

      • Tree

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

      • __init__

        public void __init__​(java.lang.Object[] args)
        Overrides:
        __init__ in class org.jpmml.python.CythonObject
      • getChildrenLeft

        public int[] getChildrenLeft()
      • getChildrenRight

        public int[] getChildrenRight()
      • getFeature

        public int[] getFeature()
      • getThreshold

        public double[] getThreshold()
      • getNodeSamples

        public int[] getNodeSamples()
      • getMissingGoToLeft

        public int[] getMissingGoToLeft()
      • getValues

        public double[] getValues()