From 21837f4c7cd6bd568b82a6b14c633fed513fa5c1 Mon Sep 17 00:00:00 2001 From: blackbrandt Date: Tue, 25 Jul 2023 14:20:57 -0500 Subject: [PATCH] Update expert_rules.ipynb According to documentation [here](https://adaa-polsl.github.io/RuleKit-python/rst/autodoc/classification.html?highlight=expert#rulekit.classification.ExpertRuleClassifier), and warning: DeprecationWarning: "min_rule_covered" parameter was renamed to "minsupp_new" and is now deprecated, "minsupp_new" instead. "min_rule_covered" parameter will be removed in next major version of the package. Fixed parameter to match newest version and remove deprecation warning. --- doc/source/rst/tutorials/expert_rules.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/rst/tutorials/expert_rules.ipynb b/doc/source/rst/tutorials/expert_rules.ipynb index be2ca00..4e2173a 100644 --- a/doc/source/rst/tutorials/expert_rules.ipynb +++ b/doc/source/rst/tutorials/expert_rules.ipynb @@ -128,7 +128,7 @@ "from rulekit.classification import ExpertRuleClassifier\n", "\n", "clf = ExpertRuleClassifier(\n", - " min_rule_covered = 8,\n", + " minsupp_new = 8,\n", " max_growing= 0,\n", " extend_using_preferred=True,\n", " extend_using_automatic=True,\n", @@ -361,4 +361,4 @@ ] } ] -} \ No newline at end of file +}