class_docstr: Tests tabular hot-flips with regression models.
class_docstr_tok: ["Tests","tabular","hot-flips","with","regression","models","."]
docstr: Given an example, returns the regression score.
code: def _predict_and_return_score(self, example):
      """Given an example, returns the regression score."""
      model_out = self._model.predict([example])
      return list(model_out)[0]["score"]
  
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 8 for calling the RegressionTabularMtcTest obj's underlying member method code with example usage: obj._predict_and_return_score(example) and returns: list