Uses of Class
org.tribuo.common.tree.impl.IntArrayContainer
Package
Description
Provides internal implementation classes for building decision trees.
Provides internal implementation classes for the regression trees.
Provides implementations of regression tree impurity metrics.
-
Uses of IntArrayContainer in org.tribuo.common.tree.impl
Modifier and TypeMethodDescriptionvoid
IntArrayContainer.fill
(IntArrayContainer other) Overwrites values in this array with the supplied array.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.merge
(IntArrayContainer input, int[] otherArray, IntArrayContainer output) Merges input and otherArray writing to output.static void
IntArrayContainer.removeOther
(IntArrayContainer input, int[] otherArray, IntArrayContainer output) Copies from input to output excluding the values in otherArray. -
Uses of IntArrayContainer in org.tribuo.regression.rtree.impl
Modifier and TypeMethodDescriptioncom.oracle.labs.mlrg.olcut.util.Pair<InvertedFeature,
InvertedFeature> InvertedFeature.split
(IntArrayContainer allLeftIndices, IntArrayContainer buffer) Relies upon allLeftIndices being sorted in ascending order.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. -
Uses of IntArrayContainer in org.tribuo.regression.rtree.impurity
Modifier and TypeMethodDescriptiondefault double
RegressorImpurity.impurity
(IntArrayContainer indices, float[] targets, float[] weights) Calculates the weighted impurity of the targets specified in the indices container.