class TreeDataIndex {

    public double labelInSortedOrder(int k, int featureId) {
        return labels[idx[k][featureId]];
    }

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

}