class_docstr: Splitter needs providing some parameters to create folds and some "reader",
  that can read source.
class_docstr_tok: ["Splitter","needs","providing","some","parameters","to","create","folds","and","some","``","reader","''",",","that","can","read","source","."]
docstr: Create all folds for all permutations.
docstr_tok: ["Create","all","folds","for","all","permutations","."]
code: def create_fold_sets(self, fold_size, folds_count):
      """Create all folds for all permutations."""
      folds = []
      passed_folds_count = 0
  
      while passed_folds_count < folds_count:
          folds.append(
              self._make_learn_folds(
                  fold_size, folds_count - passed_folds_count
              )
          )
          current_learn_folds = folds[-1]
          passed_folds_count += len(current_learn_folds)
      return folds
  
file_path: catboost/catboost/python-package/catboost/eval/_splitter.py
imports: import random
  from ._fold_storage import FoldStorage
  from ._fold_storage import _FoldFile
label_desc: Use image node_id 5 for calling the _Splitter obj's underlying member method code with example usage: obj.create_fold_sets(fold_size, folds_count) and returns: folds