class_docstr: Test class for cross-validation tests.
class_docstr_tok: ["Test","class","for","cross-validation","tests","."]
docstr: Test 10-fold cross_validate experiments and model saving.
docstr_tok: ["Test","10-fold","cross_validate","experiments","and","model","saving","."]
code: def test_cross_validate_task_save_cv_models(self):
      """Test 10-fold cross_validate experiments and model saving."""
      suffix = ".jsonlines"
      train_path = train_dir / f"f0{suffix}"
  
      template_path = config_dir / "test_save_cv_models.template.cfg"
      config_path = fill_in_config_paths_for_single_file(
          template_path, train_path, None
      )
      run_configuration(config_path, quiet=True, local=True)
  
      cv_model_prefix = "test_save_cv_models_train_f0.jsonlines_LogisticRegression_fold"
      for i in range(1, 11):
          model_path = output_dir / f"{cv_model_prefix}{i}.model"
          assert model_path.exists()
  
imports: import csv
  import itertools
  import json
  import re
  import unittest
  import numpy
  from numpy.testing import assert_almost_equal
  from sklearn.datasets import make_classification
  from sklearn.feature_extraction import FeatureHasher
  from skll.config import load_cv_folds
  from skll.data import FeatureSet
  from skll.experiments import load_featureset, run_configuration
  from skll.learner import Learner
  from skll.utils.testing import compute_expected_folds_for_cv_testing, config_dir, create_jsonlines_feature_files, fill_in_config_paths_for_single_file, other_dir, output_dir, remove_jsonlines_feature_files, train_dir, unlink
label_desc: Use image node_id 12 for calling the TestCrossValidation obj's underlying member method code with example usage: obj.test_cross_validate_task_save_cv_models() without return types