diff --git a/scripts/training/filter-rule-table.py b/scripts/training/filter-rule-table.py index 8bef034de..86c8b300e 100755 --- a/scripts/training/filter-rule-table.py +++ b/scripts/training/filter-rule-table.py @@ -40,7 +40,8 @@ def printUsage(): def main(): parser = optparse.OptionParser() parser.add_option("-c", "--min-non-initial-rule-count", - action="store", dest="minCount", type="int", default="1", + action="store", dest="minCount", + type="float", default="0.0", help="prune non-initial rules where count is below N", metavar="N") (options, args) = parser.parse_args()