code: def test_save_load_trained_model(self):
      self._run_test_save_load_trained_model(
          LogisticRegression, LogisticRegressionModel
      )
      self._run_test_save_load_trained_model(
          DummyLogisticRegression, DummyLogisticRegressionModel
      )
  
file_path: spark/python/pyspark/ml/tests/tuning/test_cv_io_basic.py
imports: import tempfile
  import unittest
  from pyspark.ml.classification import LogisticRegression, LogisticRegressionModel
  from pyspark.ml.evaluation import BinaryClassificationEvaluator
  from pyspark.ml.linalg import Vectors
  from pyspark.ml.tuning import CrossValidator, CrossValidatorModel, ParamGridBuilder
  from pyspark.testing.mlutils import DummyEvaluator, DummyLogisticRegression, DummyLogisticRegressionModel, SparkSessionTestCase
  from pyspark.ml.tests.tuning.test_tuning import ValidatorTestUtilsMixin
label_desc: Use image node_id 2 for calling the CrossValidatorIOBasicTests obj's underlying member method code with example usage: obj.test_save_load_trained_model() without return types