class_docstr: Class for performing refutations on graph and storing the results
docstr: Initialize data for graph refutation
  
  :param data:input dataset
  :param method_name_discrete: name of method for testing conditional independence in discrete data
  :param method_name_continuous: name of method for testing conditional independece in continuous data
  :returns : instance of GraphRefutation class
docstr_tok: ["Initialize","data","for","graph","refutation",":","param","data",":","input","dataset",":","param","method_name_discrete",":","name","of","method","for","testing","conditional","independence","in","discrete","data",":","param","method_name_continuous",":","name","of","method","for","testing","conditional","independece","in","continuous","data",":","returns",":","instance","of","GraphRefutation","class"]
code: def __init__(
      self,
      data,
      method_name_discrete="conditional_mutual_information",
      method_name_continuous="partial_correlation",
  ):
      """
      Initialize data for graph refutation
  
      :param data:input dataset
      :param method_name_discrete: name of method for testing conditional independence in discrete data
      :param method_name_continuous: name of method for testing conditional independece in continuous data
      :returns : instance of GraphRefutation class
      """
      self._refutation_passed = None
      self._data = data
      self._method_name_discrete = method_name_discrete
      self._method_name_continuous = method_name_continuous
      self._false_implications = (
          []
      )  # List containing the implications from the graph which hold false for dataset
      self._true_implications = (
          []
      )  # List containing the implications from the graph which hold true for dataset
      self._results = (
          {}
      )  # A dictionary with key as test set and value as [p-value, test_result]
      self.logger = logging.getLogger(__name__)
  
file_path: dowhy/dowhy/causal_refuters/graph_refuter.py
imports: import logging
  import numpy
  from dowhy.causal_refuter import CausalRefutation, CausalRefuter
  from dowhy.utils.cit import conditional_MI, partial_corr
label_desc: Use image node_id 1 to create a new GraphRefuter object from inherited base classes: CausalRefuter with example: obj = GraphRefuter(data, method_name_discrete, method_name_continuous)