class TreeDataIndex {

    public double[] featuresInSortedOrder(int k, int featureId) {
        return features[idx[k][featureId]];
    }

    public  TreeDataIndex(double[][] features, double[] labels);
    private  TreeDataIndex(int[][] idxProj, double[][] features, double[] labels);

}