code: def _extract_rules(self, X, y) -> List[str]:
      X = pd.DataFrame(X, columns=self.feature_placeholders)
      itemsets = extract_fpgrowth(
          X,
          minsupport=self.minsupport,
          maxcardinality=self.maxcardinality,
          verbose=self.verbose,
      )
      return itemsets_to_rules(itemsets)
  
file_path: imodels/imodels/rule_set/fplasso.py
imports: from typing import List
  import pandas
  from sklearn.base import ClassifierMixin, RegressorMixin
  from imodels.rule_set.rule_fit import RuleFit
  from imodels.util.convert import itemsets_to_rules
  from imodels.util.extract import extract_fpgrowth
label_desc: Use image node_id 3 for calling the FPLasso obj's underlying member method code with example usage: obj._extract_rules(X, y) and returns: itemsets_to_rules