private static TableModel getTabelModel(double[] termScore, double rangeMin,
            double rangeMax, double step) {
        List<Roc> resultList = new ArrayList<Roc>();
        int total = termScore.length;
        int k = 0;
        int[] result = new int[(int) ((rangeMax - rangeMin) / step) + 1];
        System.out.println((int) ((rangeMax - rangeMin) / step) + 1);
        for (double j = rangeMin; j <= rangeMax; j += step) {
            result[k] = (int) 0.0;
            for (int i = 0; i < termScore.length; i++) {
                if (termScore[i] >= ((double) j)) {
                    result[k]++;
                }
            }
            resultList.add(new Roc((double) j, result[k], total - result[k]));
            k++;
        }

        return new TabelModelRoc(resultList);//new TabelModelResult(resultList);
    }