class_docstr: Tests tabular hot-flips with regression models.
class_docstr_tok: ["Tests","tabular","hot-flips","with","regression","models","."]
docstr: Tests the case when there no counterfactuals in the database.
code: def test_no_counterfactuals_found(self):
      """Tests the case when there no counterfactuals in the database."""
      threshold = 4.0
      self._config["Regression threshold"] = str(threshold)
      self._example = {"x_1": 1.0, "x_2": 1.0}
      output = self._gen.generate(
          example=self._example,
          model=self._model,
          dataset=self._dataset,
          config=self._config,
      )
      self.assertEmpty(output)
  
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 5 for calling the RegressionTabularMtcTest obj's underlying member method code with example usage: obj.test_no_counterfactuals_found() without return types