code: def __init__(self, pipeline):
      """
  
      Parameters
      ----------
      pipeline : Pipeline
              sklearn.pipeline.Pipeline instance
      """
      self.pipeline = pipeline
  
imports: from sklearn.pipeline import Pipeline
label_desc: Use image node_id 1 to create a new ScikitSupervisedCompactor object from inherited base classes: object with example: obj = ScikitSupervisedCompactor(pipeline)