code: def test_get_hyperparameter_search_space_include_exclude_models(self):
      regressor = SimpleRegressionPipeline(
          include={"regressor": ["random_forest"]}
      )
      cs = regressor.get_hyperparameter_search_space()
      self.assertEqual(
          cs.get_hyperparameter("regressor:__choice__"),
          CategoricalHyperparameter(
              "regressor:__choice__", ["random_forest"]
          ),
      )
  
      # TODO add this test when more than one regressor is present
      regressor = SimpleRegressionPipeline(
          exclude={"regressor": ["random_forest"]}
      )
      cs = regressor.get_hyperparameter_search_space()
      self.assertNotIn("random_forest", str(cs))
  
      regressor = SimpleRegressionPipeline(
          include={"feature_preprocessor": ["pca"]}
      )
      cs = regressor.get_hyperparameter_search_space()
      self.assertEqual(
          cs.get_hyperparameter("feature_preprocessor:__choice__"),
          CategoricalHyperparameter(
              "feature_preprocessor:__choice__", ["pca"]
          ),
      )
  
      regressor = SimpleRegressionPipeline(
          exclude={"feature_preprocessor": ["no_preprocessing"]}
      )
      cs = regressor.get_hyperparameter_search_space()
      self.assertNotIn("no_preprocessing", str(cs))
  
imports: import copy
  import itertools
  import resource
  import tempfile
  import numpy
  import sklearn.datasets
  import sklearn.decomposition
  import sklearn.ensemble
  import sklearn.svm
  from ConfigSpace.configuration_space import ConfigurationSpace
  from ConfigSpace.hyperparameters import CategoricalHyperparameter
  from joblib import Memory
  from sklearn.base import clone
  from sklearn.utils.validation import check_is_fitted
  import autosklearn.pipeline.components.feature_preprocessing
  import autosklearn.pipeline.components.regression
  from autosklearn.pipeline.components.base import AutoSklearnChoice, AutoSklearnComponent, AutoSklearnPreprocessingAlgorithm, AutoSklearnRegressionAlgorithm
  from autosklearn.pipeline.constants import DENSE, PREDICTIONS, SIGNED_DATA, SPARSE, UNSIGNED_DATA
  from autosklearn.pipeline.regression import SimpleRegressionPipeline
  from autosklearn.pipeline.util import get_dataset
  import unittest
  import unittest.mock
  from test.test_pipeline.ignored_warnings import ignore_warnings, regressor_warnings
label_desc: Use image node_id 13 for calling the SimpleRegressionPipelineTest obj's underlying member method code with example usage: obj.test_get_hyperparameter_search_space_include_exclude_models() without return types