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)],
          [np.arange(X.shape[0])],
          [np.arange(len(self.feature_names))],
      )
  
file_path: imodels/imodels/rule_set/fpskope.py
imports: from typing import List
  import numpy
  import pandas
  from imodels.rule_set.skope_rules import SkopeRulesClassifier
  from imodels.util.convert import itemsets_to_rules
  from imodels.util.extract import extract_fpgrowth
  from imodels.util.rule import Rule
  from imodels.util.score import score_precision_recall
label_desc: Use image node_id 3 for calling the FPSkopeClassifier obj's underlying member method code with example usage: obj._extract_rules(X, y) and returns: list,  list,  list