Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

rule_list.py 255 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
  1. from sklearn.utils.validation import check_is_fitted
  2. class RuleList:
  3. def _get_complexity(self):
  4. check_is_fitted(self, ['rules_without_feature_names_'])
  5. return sum([len(rule.agg_dict) for rule in self.rules_without_feature_names_])
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...