class_docstr: A wrapper that facilitates the use of `TabularSampler` for distributed sampling.
docstr: Wrapper around :py:meth:`alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups`.
  
  Parameters
  --------
  X
      See :py:meth:`alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups`.
  
  Returns
  -------
  See :py:meth:`alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups`.
docstr_tok: ["Wrapper","around",":","py",":","meth",":","`","alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups","`",".","Parameters","--","--","--","--","X","See",":","py",":","meth",":","`","alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups","`",".","Returns","--","--","--","-","See",":","py",":","meth",":","`","alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups","`","."]
code: def build_lookups(self, X: np.ndarray):
      """
      Wrapper around :py:meth:`alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups`.
  
      Parameters
      --------
      X
          See :py:meth:`alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups`.
  
      Returns
      -------
      See :py:meth:`alibi.explainers.anchors.anchor_tabular.TabularSampler.build_lookups`.
      """
  
      (
          cat_lookup_id,
          ord_lookup_id,
          enc2feat_idx_id,
      ) = self.sampler.build_lookups(X)
  
      return [cat_lookup_id, ord_lookup_id, enc2feat_idx_id]
  
imports: import logging
  from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
  import numpy
  import ray
  from alibi.api.interfaces import Explanation
  from alibi.utils.discretizer import Discretizer
  from alibi.utils.mapping import ohe_to_ord
  from .anchor_base import AnchorBaseBeam
  from .anchor_tabular import AnchorTabular, TabularSampler
  from alibi.utils.distributed import ActorPool
  from functools import partial
label_desc: Use image node_id 6 for calling the RemoteSampler obj's underlying member method code with example usage: obj.build_lookups(X) and returns: list