code: def assess_support_and_overlap_overrule(
      data,
      backdoor_vars: List[str],
      treatment_name: str,
      cat_feats: List[str] = [],
      overlap_config: Optional[OverlapConfig] = None,
      support_config: Optional[SupportConfig] = None,
      overlap_eps: float = 0.1,
      support_only: bool = False,
      overlap_only: bool = False,
      verbose: bool = False,
  ):
      """
      Learn support and overlap rules using OverRule.
  
      :param data: Data containing backdoor variables and treatment name
      :param backdoor_vars: List of backdoor variables. Support and overlap rules will only be learned with respect to
      these variables
      :type backdoor_vars: List[str]
      :param treatment_name: Treatment name
      :type treatment_name: str
      :param cat_feats: Categorical features
      :type cat_feats: List[str]
      :param overlap_config: Configuration for learning overlap rules
      :type overlap_config: OverlapConfig
      :param support_config: Configuration for learning support rules
      :type support_config: SupportConfig
      :param: overlap_eps: float: Defines the range of propensity scores for a point to be considered in the overlap
          region, with the range defined as `(overlap_eps, 1 - overlap_eps)`, defaults to 0.1
      :param: support_only: bool: Only fit the support region
      :param: overlap_only: bool: Only fit the overlap region
      :param: verbose: bool: Enable verbose logging of optimization output, defaults to False
      """
      analyzer = OverruleAnalyzer(
          backdoor_vars=backdoor_vars,
          treatment_name=treatment_name,
          cat_feats=cat_feats,
          overlap_config=overlap_config,
          support_config=support_config,
          overlap_eps=overlap_eps,
          support_only=support_only,
          overlap_only=overlap_only,
          verbose=verbose,
      )
      analyzer.fit(data)
      return analyzer
  
file_path: dowhy/dowhy/causal_refuters/assess_overlap.py
imports: import logging
  import warnings
  from typing import List, Optional
  from dowhy.causal_refuter import CausalRefuter
  from dowhy.causal_refuters.assess_overlap_overrule import OverlapConfig, OverruleAnalyzer, SupportConfig
label_desc: Use image node_id 1 for calling a global function with example usage: assess_support_and_overlap_overrule(data, backdoor_vars, treatment_name, cat_feats, overlap_config, support_config, overlap_eps, support_only, overlap_only, verbose) and returns: analyzer