code: def fit(
      self,
      X,
      y=None,
      feature_names=None,
      undiscretized_features=[],
      sample_weight=None,
  ):
      self.undiscretized_features = undiscretized_features
      super().fit(
          X, y, feature_names=feature_names, sample_weight=sample_weight
      )
      return self
  
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 2 for calling the FPSkopeClassifier obj's underlying member method code with example usage: obj.fit(X, y, feature_names, undiscretized_features, sample_weight) and returns: self