Skip to content

Commit 9b17d85

Browse files
committed
RUL-43: Added mincov_new adjustment at the end of growing.
1 parent 596bd4f commit 9b17d85

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

adaa.analytics.rules/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ codeQuality {
2727
}
2828

2929
sourceCompatibility = 1.8
30-
version = '1.7.13'
30+
version = '1.7.14'
3131

3232

3333
jar {

adaa.analytics.rules/src/main/java/adaa/analytics/rules/logic/induction/AbstractFinder.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,9 @@ protected Set<Attribute> names2attributes(Set<String> names, ExampleSet dataset)
380380
int toGenerateRulesCount = params.getMaxRuleCount()- ruleOrderNum;
381381
double fractionCurrentGeneration = 1.0 / (double) toGenerateRulesCount;
382382
return fractionCurrentGeneration * sizeToCover;
383-
}else
384-
{
383+
} else if (uncoveredSize < params.getAbsoluteMinimumCovered(size)) {
384+
return uncoveredSize;
385+
} else {
385386
return params.getAbsoluteMinimumCovered(size);
386387
}
387388
}

0 commit comments

Comments
 (0)