Package | Description |
---|---|
org.tribuo.common.tree.impl |
Provides internal implementation classes for building decision trees.
|
org.tribuo.regression.rtree.impl |
Provides internal implementation classes for the regression trees.
|
org.tribuo.regression.rtree.impurity |
Provides implementations of regression tree impurity metrics.
|
Modifier and Type | Method and Description |
---|---|
void |
IntArrayContainer.fill(IntArrayContainer other)
Overwrites values in this array with the supplied array.
|
static void |
IntArrayContainer.merge(IntArrayContainer input,
int[] otherArray,
IntArrayContainer output)
Merges input and otherArray writing to output.
|
static int[] |
IntArrayContainer.merge(List<int[]> input,
IntArrayContainer firstBuffer,
IntArrayContainer secondBuffer)
Merges the list of int arrays into a single int array, using the two supplied buffers.
|
static void |
IntArrayContainer.removeOther(IntArrayContainer input,
int[] otherArray,
IntArrayContainer output)
Copies from input to output excluding the values in otherArray.
|
Modifier and Type | Method and Description |
---|---|
com.oracle.labs.mlrg.olcut.util.Pair<TreeFeature,TreeFeature> |
TreeFeature.split(int[] leftIndices,
int[] rightIndices,
IntArrayContainer firstBuffer,
IntArrayContainer secondBuffer)
Splits this tree feature into two.
|
com.oracle.labs.mlrg.olcut.util.Pair<InvertedFeature,InvertedFeature> |
InvertedFeature.split(IntArrayContainer allLeftIndices,
IntArrayContainer buffer)
Relies upon allLeftIndices being sorted in ascending order.
|
Modifier and Type | Method and Description |
---|---|
default double |
RegressorImpurity.impurity(IntArrayContainer indices,
float[] targets,
float[] weights)
Calculates the weighted impurity of the targets specified in the indices container.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.