Skip to content

Commit

Permalink
Merge pull request #584 from zinggAI/issue580
Browse files Browse the repository at this point in the history
label updater giving exception #580
  • Loading branch information
sonalgoyal committed May 8, 2023
2 parents d932174 + 9aa3d66 commit a853ccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -10,7 +10,8 @@ public interface ColValues {
public static final double IS_MATCH_PREDICTION = 1.0;
public static final double IS_NOT_A_MATCH_PREDICTION = 0.0;
public static final double IS_NOT_KNOWN_PREDICTION = -1.0;

public static final double IS_NOT_SURE_PREDICTION = 2.0;

public static final double ZERO_SCORE = 0.0;
public static final double FULL_MATCH_SCORE = 1.0;

Expand Down
Expand Up @@ -3,6 +3,7 @@
import zingg.common.client.util.ColValues;

public enum LabelMatchType {
NOT_SURE(ColValues.IS_NOT_SURE_PREDICTION, "NOT SURE"),
UNDEFINED(ColValues.IS_NOT_KNOWN_PREDICTION, "ARE NOT KNOWN IF MATCH"),
DO_NOT_MATCH(ColValues.IS_NOT_A_MATCH_PREDICTION, "DO NOT MATCH"),
MATCH(ColValues.IS_MATCH_PREDICTION, "MATCH");
Expand Down

0 comments on commit a853ccc

Please sign in to comment.