private double targettedCreateValue(int index,int classLabel) {
        int testSum=0;
        for(Integer testClass:testSet.keySet()) {
            List<Set<Integer> > classPoints=testSet.get(testClass);
            for(Set<Integer> point:classPoints) {
                if(point.contains(index)) {
                    testSum+=testClass*classLabel;
                }
            }
        }
        double classifierValue=createValue(index,classLabel);
        if(classifierValue<0&&testSum<0)
        	return -1;
        return classifierValue*testSum;
    }