Skip to content

Commit

Permalink
RUL-43: Added mincov_new adjustment at the end of growing.
Browse files Browse the repository at this point in the history
  • Loading branch information
agudys committed May 29, 2024
1 parent 596bd4f commit 9b17d85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion adaa.analytics.rules/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ codeQuality {
}

sourceCompatibility = 1.8
version = '1.7.13'
version = '1.7.14'


jar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,9 @@ protected Set<Attribute> names2attributes(Set<String> names, ExampleSet dataset)
int toGenerateRulesCount = params.getMaxRuleCount()- ruleOrderNum;
double fractionCurrentGeneration = 1.0 / (double) toGenerateRulesCount;
return fractionCurrentGeneration * sizeToCover;
}else
{
} else if (uncoveredSize < params.getAbsoluteMinimumCovered(size)) {
return uncoveredSize;
} else {
return params.getAbsoluteMinimumCovered(size);
}
}
Expand Down

0 comments on commit 9b17d85

Please sign in to comment.