Package | Description |
---|---|
org.tribuo.regression.rtree.impurity |
Provides implementations of regression tree impurity metrics.
|
Modifier and Type | Method and Description |
---|---|
RegressorImpurity.ImpurityTuple |
RegressorImpurity.impurityTuple(int[] indices,
int indicesLength,
float[] targets,
float[] weights)
Calculates the weighted impurity of the targets specified in the indices array.
|
RegressorImpurity.ImpurityTuple |
MeanSquaredError.impurityTuple(int[] indices,
int indicesLength,
float[] targets,
float[] weights) |
RegressorImpurity.ImpurityTuple |
MeanAbsoluteError.impurityTuple(int[] indices,
int indicesLength,
float[] targets,
float[] weights) |
RegressorImpurity.ImpurityTuple |
RegressorImpurity.impurityTuple(List<int[]> indices,
float[] targets,
float[] weights)
Calculates the weighted impurity of the targets specified in all the indices arrays.
|
RegressorImpurity.ImpurityTuple |
MeanSquaredError.impurityTuple(List<int[]> indices,
float[] targets,
float[] weights) |
RegressorImpurity.ImpurityTuple |
MeanAbsoluteError.impurityTuple(List<int[]> indices,
float[] targets,
float[] weights) |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.