class_docstr: Test class for third set of voting learner API tests.
code: def test_predict(self):
      for (
          learner_type,
          with_grid_search,
          with_soft_voting,
          with_class_labels,
          with_file_output,
          with_individual_predictions,
      ) in product(
          ["classifier", "regressor"],
          [False, True],
          [False, True],
          [False, True],
          [False, True],
          [False, True],
      ):
          # regressors do not support soft voting or class labels
          if learner_type == "regressor" and (
              with_soft_voting or with_class_labels
          ):
              continue
          else:
              yield (
                  self.check_predict,
                  learner_type,
                  with_grid_search,
                  with_soft_voting,
                  with_class_labels,
                  with_file_output,
                  with_individual_predictions,
              )
  
file_path: skll/tests/test_voting_learners_api_3.py
imports: import unittest
  from itertools import product
  from pathlib import Path
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from sklearn.ensemble import VotingClassifier, VotingRegressor
  from skll.learner.voting import VotingLearner
  from skll.utils.testing import make_california_housing_data, make_digits_data, other_dir, output_dir
label_desc: Use image node_id 4 for calling the TestVotingLearnersAPIThree obj's underlying member method code with example usage: obj.test_predict() without return types