class_docstr: A test dataset for regression testing.
class_docstr_tok: ["A","test","dataset","for","regression","testing","."]
code: def spec(self) -> lit_types.Spec:
      return {
          "x_1": lit_types.Scalar(),
          "x_2": lit_types.Scalar(),
          "y": lit_types.Scalar(),
      }
  
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 RegressionTestDataset obj's underlying member method code with example usage: obj.spec() and returns: dict