class_docstr: Tests tabular hot-flips with regression models.
class_docstr_tok: ["Tests","tabular","hot-flips","with","regression","models","."]
docstr: Tests the predict method of the regression model.
code: def test_test_regression_model(self):
      """Tests the predict method of the regression model."""
      model = RegressionTestModel()
      example = {"x_1": 3, "x_2": 2}
      pred = list(model.predict([example]))[0]
      self.assertEqual(pred["score"], 20)
  
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 2 for calling the RegressionTabularMtcTest obj's underlying member method code with example usage: obj.test_test_regression_model() without return types