class_docstr: A sampler that uses an underlying training set to draw records that have a subset of features with
  values specified in an instance to be explained, `X`. 
class_docstr_tok: ["A","sampler","that","uses","an","underlying","training","set","to","draw","records","that","have","a","subset","of","features","with","values","specified","in","an","instance","to","be","explained",",","`","X","`","."]
docstr: Set the number of examples to be saved for each result and partial result during search process.
  The same number of examples is saved in the case where the predictions on perturbed samples and
  original instance agree or disagree.
  
  Parameters
  ---------
  n_covered
      Number of examples to be saved.
code: def set_n_covered(self, n_covered: int) -> None:
      """
      Set the number of examples to be saved for each result and partial result during search process.
      The same number of examples is saved in the case where the predictions on perturbed samples and
      original instance agree or disagree.
  
      Parameters
      ---------
      n_covered
          Number of examples to be saved.
      """
  
      self.n_covered_ex = n_covered
  
imports: import copy
  from collections import OrderedDict, defaultdict
  from itertools import accumulate
  from typing import Any, Callable, DefaultDict, Dict, List, Optional, Set, Tuple, Type, Union
  import numpy
  from alibi.api.defaults import DEFAULT_DATA_ANCHOR, DEFAULT_META_ANCHOR
  from alibi.api.interfaces import Explainer, Explanation, FitMixin
  from alibi.exceptions import NotFittedError, PredictorCallError, PredictorReturnTypeError
  from alibi.utils.discretizer import Discretizer
  from alibi.utils.mapping import ohe_to_ord, ord_to_ohe
  from alibi.utils.wrappers import ArgmaxTransformer
  from .anchor_base import AnchorBaseBeam
  from .anchor_explanation import AnchorExplanation
label_desc: Use image node_id 7 for calling the TabularSampler obj's underlying member method code with example usage: obj.set_n_covered(n_covered) without return types