Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
label is integer
Browse files Browse the repository at this point in the history
  • Loading branch information
takuti committed Feb 28, 2017
1 parent 1d9d71b commit 681e7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hivemall/evaluation/AUCUDAF.java
Expand Up @@ -297,7 +297,7 @@ void iterate(double score, int label) {
fpPrev = fp;
tpPrev = tp;
}
if (label == 1.d) {
if (label == 1) {
tp += 1; // this finally will be the number of positive samples
} else {
fp += 1; // this finally will be the number of negative samples
Expand Down

0 comments on commit 681e7fb

Please sign in to comment.