class_docstr: Tests tabular hot-flips with regression models.
class_docstr_tok: ["Tests","tabular","hot-flips","with","regression","models","."]
code: def setUp(self):
      super().setUp()
      dataset = lit_dataset.IndexedDataset(
          base=RegressionTestDataset(), id_fn=caching.input_hash
      )
      self._dataset = dataset
      self._model = RegressionTestModel()
      self._gen = minimal_targeted_counterfactuals.TabularMTC()
  
      self._example = {"x_1": 1.0, "x_2": 1.0}
  
      self._config = {
          "Prediction key": "score",
          "dataset_name": "regression_test_dataset",
      }
  
imports: from unittest import mock
  from absl.testing import absltest
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.components import minimal_targeted_counterfactuals
  from lit_nlp.lib import caching
  import numpy
  import scipy.special
label_desc: Use image node_id 1 for calling the RegressionTabularMtcTest obj's underlying member method code with example usage: obj.setUp() without return types