class_docstr: Maps feature ids to names, generates table views, etc
class_docstr_tok: ["Maps","feature","ids","to","names",",","generates","table","views",",","etc"]
docstr: Maps ids to feature names.
  
  Args:
      exp: list of tuples [(id, weight), (id,weight)]
  
  Returns:
      list of tuples (feature_name, weight)
docstr_tok: ["Maps","ids","to","feature","names",".","Args",":","exp",":","list","of","tuples","[","(","id",",","weight",")",",","(","id",",","weight",")","]","Returns",":","list","of","tuples","(","feature_name",",","weight",")"]
code: def map_exp_ids(self, exp):
      """Maps ids to feature names.
  
      Args:
          exp: list of tuples [(id, weight), (id,weight)]
  
      Returns:
          list of tuples (feature_name, weight)
      """
      names = self.exp_feature_names
      if self.discretized_feature_names is not None:
          names = self.discretized_feature_names
      return [(names[x[0]], x[1]) for x in exp]
  
imports: import collections
  import copy
  from functools import partial
  import json
  import warnings
  import numpy
  import scipy
  import sklearn
  import sklearn.preprocessing
  from sklearn.utils import check_random_state
  from pyDOE2 import lhs
  from scipy.stats.distributions import norm
  from lime.discretize import QuartileDiscretizer
  from lime.discretize import DecileDiscretizer
  from lime.discretize import EntropyDiscretizer
  from lime.discretize import BaseDiscretizer
  from lime.discretize import StatsDiscretizer
  from .None import explanation
  from .None import lime_base
label_desc: Use image node_id 2 for calling the TableDomainMapper obj's underlying member method code with example usage: obj.map_exp_ids(exp) and returns: unknown