code: def _test_helper(self, Preprocessor, dataset=None, make_sparse=False):
      X_train, Y_train, X_test, Y_test = get_dataset(
          dataset=dataset,
          make_sparse=make_sparse,
      )
  
      dataset_properties = {"sparse": make_sparse}
  
      original_X_train = X_train.copy()
      configuration_space = Preprocessor(
          dataset_properties
      ).get_hyperparameter_search_space(
          dataset_properties=dataset_properties
      )
      default = configuration_space.get_default_configuration()
  
      preprocessor = Preprocessor(dataset_properties, random_state=1)
      preprocessor.set_hyperparameters(default)
      preprocessor = preprocessor.choice
      transformer = preprocessor.fit(X_train, Y_train)
      return transformer.transform(X_train), original_X_train
  
file_path: auto-sklearn/test/test_pipeline/components/data_preprocessing/test_scaling.py
imports: import numpy
  import sklearn.datasets
  from autosklearn.pipeline.components.data_preprocessing.rescaling import RescalingChoice
  from autosklearn.pipeline.util import get_dataset
  import unittest
label_desc: Use image node_id 1 for calling the ScalingComponentTest obj's underlying member method code with example usage: obj._test_helper(Preprocessor, dataset, make_sparse) and returns: transformer,  original_X_train