@NoOffset
public static class opencv_ml.DTrees.Node
extends org.bytedeco.javacpp.Pointer
| Constructor and Description |
|---|
Node() |
Node(long size)
Native array allocator.
|
Node(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
classIdx()
Class index normalized to 0..class_count-1 range and assigned to the
node.
|
opencv_ml.DTrees.Node |
classIdx(int classIdx) |
int |
defaultDir()
Default direction where to go (-1: left or +1: right).
|
opencv_ml.DTrees.Node |
defaultDir(int defaultDir) |
int |
left()
Index of the left child node
|
opencv_ml.DTrees.Node |
left(int left) |
int |
parent()
Index of the parent node
|
opencv_ml.DTrees.Node |
parent(int parent) |
opencv_ml.DTrees.Node |
position(long position) |
int |
right()
Index of right child node
|
opencv_ml.DTrees.Node |
right(int right) |
int |
split()
Index of the first split
|
opencv_ml.DTrees.Node |
split(int split) |
double |
value()
Value at the node: a class label in case of classification or estimated
function value in case of regression.
|
opencv_ml.DTrees.Node |
value(double value) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Node(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public Node(long size)
Pointer.position(long).public Node()
public opencv_ml.DTrees.Node position(long position)
position in class org.bytedeco.javacpp.Pointerpublic double value()
public opencv_ml.DTrees.Node value(double value)
public int classIdx()
public opencv_ml.DTrees.Node classIdx(int classIdx)
public int parent()
public opencv_ml.DTrees.Node parent(int parent)
public int left()
public opencv_ml.DTrees.Node left(int left)
public int right()
public opencv_ml.DTrees.Node right(int right)
public int defaultDir()
public opencv_ml.DTrees.Node defaultDir(int defaultDir)
public int split()
public opencv_ml.DTrees.Node split(int split)
Copyright © 2018. All rights reserved.