public class TreeDataIndex extends Object
| Constructor and Description |
|---|
TreeDataIndex(double[][] features,
double[] labels)
Constructs an instance of TreeDataIndex.
|
| Modifier and Type | Method and Description |
|---|---|
int |
columnsCount() |
double |
featureInSortedOrder(int k,
int featureId)
Returns feature value for kth order statistic for target feature.
|
double[] |
featuresInSortedOrder(int k,
int featureId)
Returns vector of original features for kth order statistic for target feature.
|
TreeDataIndex |
filter(TreeFilter filter)
Creates projection of current index in according to
TreeFilter. |
double |
labelInSortedOrder(int k,
int featureId)
Returns label for kth order statistic for target feature.
|
int |
rowsCount() |
public TreeDataIndex(double[][] features,
double[] labels)
features - Features.labels - Labels.public double labelInSortedOrder(int k,
int featureId)
k - K.featureId - Feature id.public double[] featuresInSortedOrder(int k,
int featureId)
k - K.featureId - Feature id.public double featureInSortedOrder(int k,
int featureId)
k - K.featureId - Feature id.public TreeDataIndex filter(TreeFilter filter)
TreeFilter.filter - Filter.public int rowsCount()
public int columnsCount()
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025