Package sklearn.tree
Class Tree
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- net.razorvine.pickle.objects.ClassDict
-
- org.jpmml.python.PythonObject
-
- org.jpmml.python.CythonObject
-
- sklearn.tree.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
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.String>DTYPE_TREE_NEWstatic 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
-
-
-
-
Method Detail
-
__init__
public void __init__(java.lang.Object[] args)
- Overrides:
__init__in classorg.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()
-
-