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:
- Serialized Form
-
-
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 Modifier and Type Field Description static List<String>DTYPE_TREE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void__init__(Object[] args)int[]getChildrenLeft()int[]getChildrenRight()int[]getFeature()int[]getNodeSamples()double[]getThreshold()double[]getValues()-
Methods inherited from class org.jpmml.python.CustomPythonObject
__getstate__, __setstate__, __setstate__, createAttributeMap
-
Methods 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, setClassName
-
Methods 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, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
__init__
public void __init__(Object[] args)
- 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()
-
-