5455565758596061626364
int trueCount = 0; int falseCount = 0; double[] predict_y = new double[y_feature]; for(SampleVector test : testList) { lr.predict(test.getX(), predict_y); if(ClassVerify.classTrue(test.getY(), predict_y)) { trueCount++; } else { falseCount++;
4142434445464748495051