class_docstr: Test class for regression tests.
docstr: Clean up after tests.
docstr_tok: ["Clean","up","after","tests","."]
code: def tearDownClass(cls):
      """Clean up after tests."""
      for output_file in chain(
          output_dir.glob("regression_fancy_output*"),
          output_dir.glob("test_ensemble_evaluate*"),
          output_dir.glob("test_int_labels_cv*"),
          [
              train_dir / "fancy_train.jsonlines",
              test_dir / "fancy_test.jsonlines",
          ],
      ):
          unlink(output_file)
  
      for file_name in [
          "test_regression_fancy_output.cfg",
          "test_ensemble_evaluate.cfg",
          "test_int_labels_cv.cfg",
      ]:
          unlink(config_dir / file_name)
  
imports: import math
  import re
  import unittest
  import warnings
  from itertools import chain, product
  import numpy
  from numpy.testing import assert_allclose, assert_array_equal
  from scipy.stats import pearsonr
  from sklearn.exceptions import ConvergenceWarning
  from sklearn.linear_model import LinearRegression, LogisticRegression
  from skll.config import _setup_config_parser
  from skll.data import FeatureSet, NDJReader, NDJWriter
  from skll.experiments import run_configuration
  from skll.learner import Learner
  from skll.learner.utils import rescaled
  from skll.utils.constants import CLASSIFICATION_ONLY_METRICS
  from skll.utils.testing import config_dir, fill_in_config_paths_for_fancy_output, make_regression_data, other_dir, output_dir, test_dir, train_dir, unlink
label_desc: Use image node_id 2 for calling the TestRegression obj's underlying member method code with example usage: obj.tearDownClass(cls) without return types