File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ the algorithm must predict the label (which its positive or negative) for the po
6767 TestModel t3 = new TestModel (featureExtractor , Arrays .asList (4d , 1d ));
6868 LabeledInstance <Model > pointC = new LabeledInstance <Model >(positiveLabel , t3 );
6969
70- TestModel t4 = new TestModel (featureExtractor , Arrays .asList (50d , 5d ));
70+ TestModel t4 = new TestModel (featureExtractor , Arrays .asList (5d , 5d ));
7171 LabeledInstance <Model > pointD = new LabeledInstance <Model >(positiveLabel , t4 );
7272
7373 TestModel predictingTest = new TestModel (featureExtractor , Arrays .asList (1d , 3d ));
@@ -78,7 +78,7 @@ the algorithm must predict the label (which its positive or negative) for the po
7878 Prediction predictedInstance = classifier .predict (pointE );
7979
8080 Truth .assertThat (predictedInstance .getLabel ())
81- .isEqualTo (positiveLabel );
81+ .isEqualTo (negativeLabel );
8282 }
8383
8484}
You can’t perform that action at this time.
0 commit comments