@NoOffset public static class DTrees.Split extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Split() |
Split(long size)
Native array allocator.
|
Split(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
c()
The threshold value in case of split on an ordered variable.
|
DTrees.Split |
c(float setter) |
boolean |
inversed()
If true, then the inverse split rule is used (i.e.
|
DTrees.Split |
inversed(boolean setter) |
int |
next()
Index of the next split in the list of splits for the node
|
DTrees.Split |
next(int setter) |
DTrees.Split |
position(long position) |
float |
quality()
The split quality, a positive number.
|
DTrees.Split |
quality(float setter) |
int |
subsetOfs()
Offset of the bitset used by the split on a categorical variable.
|
DTrees.Split |
subsetOfs(int setter) |
int |
varIdx()
Index of variable on which the split is created.
|
DTrees.Split |
varIdx(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Split(Pointer p)
Pointer.Pointer(Pointer)
.public Split(long size)
Pointer.position(long)
.public Split()
public DTrees.Split position(long position)
public int varIdx()
public DTrees.Split varIdx(int setter)
@Cast(value="bool") public boolean inversed()
public DTrees.Split inversed(boolean setter)
public float quality()
public DTrees.Split quality(float setter)
public int next()
public DTrees.Split next(int setter)
public float c()
{.none}
if var_value < c
then next_node <- left
else next_node <- right
public DTrees.Split c(float setter)
public int subsetOfs()
{.none}
if bitset[var_value] == 1
then next_node <- left
else next_node <- right
public DTrees.Split subsetOfs(int setter)
Copyright © 2020. All rights reserved.