Skip to content

Commit

Permalink
Revert "javapredict now checks probabilities rather than class labels"
Browse files Browse the repository at this point in the history
This reverts commit e086490.
  • Loading branch information
tomkraljevic committed Mar 13, 2015
1 parent e086490 commit 22f9da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tests/Utils/shared_javapredict_SRF.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if (nrow(prediction1) != nrow(prediction2)) {
stop("Number of rows mismatch")
}

match <- all(prediction1[,2:3] == prediction2[,2:3])
match <- all(prediction1 == prediction2)
if (! match) {
for (i in 1:nrow(prediction1)) {
rowmatches <- all(prediction1[i,] == prediction2[i,])
Expand Down

0 comments on commit 22f9da2

Please sign in to comment.