Package sklearn.tree
Class Tree
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
net.razorvine.pickle.objects.ClassDict
org.jpmml.python.PythonObject
org.jpmml.python.CustomPythonObject
sklearn.tree.Tree
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
public class Tree
extends org.jpmml.python.CustomPythonObject
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidint[]int[]int[]int[]double[]double[]Methods inherited from class org.jpmml.python.CustomPythonObject
__getstate__, __setstate__, __setstate__, createAttributeMapMethods inherited from class org.jpmml.python.PythonObject
get, getArray, getArray, getArray, getArrayShape, getArrayShape, getBoolean, getBooleanArray, getClassName, getDict, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getOptional, getOptionalBoolean, getOptionalObject, getOptionalScalar, getOptionalString, getPythonModule, getPythonName, getPythonObject, getScalar, getString, getTuple, getTupleList, setClassNameMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
DTYPE_TREE
-
-
Constructor Details
-
Tree
-
-
Method Details
-
__init__
- Overrides:
__init__in classorg.jpmml.python.CustomPythonObject
-
getValues
public double[] getValues() -
getChildrenLeft
public int[] getChildrenLeft() -
getChildrenRight
public int[] getChildrenRight() -
getFeature
public int[] getFeature() -
getThreshold
public double[] getThreshold() -
getNodeSamples
public int[] getNodeSamples()
-