class_docstr: Function decorator that takes care of cross-validation.
  Evaluations of the decorated function will always return a cross-validated
  estimate of generalization performance.
  
  :param x: data to be used for cross-validation
  :param num_folds: number of cross-validation folds (default 10)
  :param y: (optional) labels to be used for cross-validation.
      If specified, len(labels) must equal len(x)
  :param strata: (optional) strata to account for when generating folds.
      Strata signify instances that must be spread across folds.
      Not every instance must be in a stratum.
      Specify strata as a list of lists of instance indices.
  :param folds: (optional) prespecified cross-validation folds to be used (list of lists (iterations) of lists (folds)).
  :param num_iter: (optional) number of iterations to use (default 1)
  :param regenerate_folds: (optional) whether or not to regenerate folds on every evaluation (default false)
  :param clusters: (optional) clusters to account for when generating folds.
      Clusters signify instances that must be assigned to the same fold.
      Not every instance must be in a cluster.
      Specify clusters as a list of lists of instance indices.
  :param aggregator: function to aggregate scores of different folds (default: mean)
  
  Use :func:`cross_validated` to create instances of this class.
class_docstr_tok: ["Function","decorator","that","takes","care","of","cross-validation",".","Evaluations","of","the","decorated","function","will","always","return","a","cross-validated","estimate","of","generalization","performance",".",":","param","x",":","data","to","be","used","for","cross-validation",":","param","num_folds",":","number","of","cross-validation","folds","(","default","10",")",":","param","y",":","(","optional",")","labels","to","be","used","for","cross-validation",".","If","specified",",","len","(","labels",")","must","equal","len","(","x",")",":","param","strata",":","(","optional",")","strata","to","account","for","when","generating","folds",".","Strata","signify","instances","that","must","be","spread","across","folds",".","Not","every","instance","must","be","in","a","stratum",".","Specify","strata","as","a","list","of","lists","of","instance","indices",".",":","param","folds",":","(","optional",")","prespecified","cross-validation","folds","to","be","used","(","list","of","lists","(","iterations",")","of","lists","(","folds",")",")",".",":","param","num_iter",":","(","optional",")","number","of","iterations","to","use","(","default","1",")",":","param","regenerate_folds",":","(","optional",")","whether","or","not","to","regenerate","folds","on","every","evaluation","(","default","false",")",":","param","clusters",":","(","optional",")","clusters","to","account","for","when","generating","folds",".","Clusters","signify","instances","that","must","be","assigned","to","the","same","fold",".","Not","every","instance","must","be","in","a","cluster",".","Specify","clusters","as","a","list","of","lists","of","instance","indices",".",":","param","aggregator",":","function","to","aggregate","scores","of","different","folds","(","default",":","mean",")","Use",":","func",":","`","cross_validated","`","to","create","instances","of","this","class","."]
docstr: Strata that were used to compute folds.
docstr_tok: ["Strata","that","were","used","to","compute","folds","."]
code: def strata(self):
      """Strata that were used to compute folds."""
      return self._strata
  
imports: import math
  import random
  import itertools
  import functools
  import operator
  import array
  import inspect
label_desc: Use image node_id 6 for calling the cross_validated_callable obj's underlying member method code with example usage: obj.strata() and returns: self