class_docstr: A common base class for Independent and Partition.
      
class_docstr_tok: ["A","common","base","class","for","Independent","and","Partition","."]
docstr: Load a Tabular masker from a file stream.
          
docstr_tok: ["Load","a","Tabular","masker","from","a","file","stream","."]
code: def load(cls, in_file, instantiate=True):
      """Load a Tabular masker from a file stream."""
      if instantiate:
          return cls._instantiated_load(in_file)
  
      kwargs = super().load(in_file, instantiate=False)
      with Deserializer(
          in_file, "shap.maskers.Tabular", min_version=0, max_version=0
      ) as s:
          kwargs["data"] = s.load("data")
          kwargs["max_samples"] = s.load("max_samples")
          kwargs["clustering"] = s.load("clustering")
      return kwargs
  
imports: import logging
  import numpy
  import pandas
  from numba import njit
  from ..None import utils
  from .._serializable import Deserializer, Serializer
  from ..utils import MaskedModel
  from ..utils._exceptions import DimensionError, InvalidClusteringError
  from ._masker import Masker
label_desc: Use image node_id 5 for calling the Tabular obj's underlying member method code with example usage: obj.load(cls, in_file, instantiate) and returns: kwargs, cls