We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b10a2e commit 1f0b708Copy full SHA for 1f0b708
src/test/groovy/net/zomis/machlearn/text/duga/ProgrammersCommentTest.java
@@ -93,7 +93,7 @@ public void commentLearning() {
93
ClassifierFunction function = (theta, x) ->
94
LogisticRegression.hypothesis(theta, x) >= 0.3;
95
System.out.println("ALL Score: " + data.precisionRecallF1(learnedTheta, function));
96
- System.out.println("Training Score: " + data.precisionRecallF1(learnedTheta, function));
+ System.out.println("Training Score: " + trainingSet.precisionRecallF1(learnedTheta, function));
97
System.out.println("CrossVal Score: " + crossValidSet.precisionRecallF1(learnedTheta, function));
98
System.out.println("TestSet Score: " + testSet.precisionRecallF1(learnedTheta, function));
99
0 commit comments