public double currNodeEntophy() {
        int currentindex = 0;
        double entropy = 0;
        currentindex = Integer.parseInt(count[0][0]);
        int i = 0;
        int covered[] = new int[1000];
        String classLabel = count[0][2];
        int j = 0;
        int ind = -1;
        int maxStrength = 0;
        System.out.println("Values in node rep to classwise");
        while (currentindex == Integer.parseInt(count[j][0])) {
            if (covered[j] == 0) {
                classLabel = count[j][2];
                ind++;
                i = j;
                while (currentindex == Integer.parseInt(count[i][0])) {
                    if (covered[i] == 0) {
                        if (classLabel.contentEquals(count[i][2])) {
                            currnode[ind] = currnode[ind] + Integer.parseInt(count[i][3]);
                            covered[i] = 1;
                        }
                    }
                    i++;
                    if (i == linenumber) {
                        break;
                    }
                }
                if (currnode[ind] > maxStrength) {
                    maxStrength = currnode[ind];
                    majorityLabel = classLabel;
                }
                System.out.print("    " + classLabel + "    " + currnode[ind]);
            } else {
                j++;
            }
            if (j == linenumber) {
                break;
            }
        }
        entropy = entropy(currnode);
        return entropy;
    }