docstr: Configuration setup
  
  Args:
      config (str/dict): path to config json/yaml file or dict pre-loaded
      variables: dictionary of the current globals/locals symbol table
docstr_tok: ["Configuration","setup","Args",":","config","(","str\/dict",")",":","path","to","config","json\/yaml","file","or","dict","pre-loaded","variables",":","dictionary","of","the","current","globals\/locals","symbol","table"]
code: def __init__(self, config=None, variables: dict = None) -> None:
      """
      Configuration setup
  
      Args:
          config (str/dict): path to config json/yaml file or dict pre-loaded
          variables: dictionary of the current globals/locals symbol table
      """
      self._config = Configuration._load_config(config, variables)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import warnings
  import json
  from enum import Enum
  from importlib import import_module
  from pathlib import Path
  import numpy
  import pandas
  import yaml
  from jsonschema import validate
  from xai.exception import CompilerException
  from xai.formatter import Report
label_desc: Use image node_id 4 to create a new Configuration object  with example: obj = Configuration(config, variables)