class_docstr: Unit test class for testing scikit-learn converter.
docstr: Check that the evaluation results are the same in scikit learn and coremltools
code: def test_ridge_regression_evaluation(self):
      """
      Check that the evaluation results are the same in scikit learn and coremltools
      """
      input_names = self.scikit_data.feature_names
      df = pd.DataFrame(self.scikit_data.data, columns=input_names)
  
      for normalize_value in (True, False):
          cur_model = Ridge()
          cur_model.fit(
              self.scikit_data["data"], self.scikit_data["target"]
          )
          spec = convert(cur_model, input_names, "target")
  
          df["target"] = cur_model.predict(self.scikit_data.data)
  
          metrics = evaluate_regressor(spec, df)
          self.assertAlmostEqual(metrics["max_error"], 0)
  
file_path: coremltools/coremltools/test/sklearn_tests/test_ridge_regression.py
imports: import unittest
  import pandas
  from coremltools._deps import _HAS_SKLEARN
  from coremltools.models.utils import _is_macos, _macos_version, evaluate_regressor
label_desc: Use image node_id 4 for calling the RidgeRegressionScikitTest obj's underlying member method code with example usage: obj.test_ridge_regression_evaluation() without return types