Skip to content

Commit

Permalink
Update StructuredPerceptron.java
Browse files Browse the repository at this point in the history
  • Loading branch information
dickensc committed May 16, 2024
1 parent 0f9b070 commit 2b569dd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public StructuredPerceptron(List<Rule> rules, Database trainTargetDatabase, Data

@Override
protected void postInitGroundModel() {
super.postInitGroundModel();

deepWeightRuleMAPIncompatibility = new float[groundedDeepWeightedRules.size()];
}

Expand Down

0 comments on commit 2b569dd

Please sign in to comment.