class_docstr: Initialisation of XMLBIFReader object.
  
  Parameters
  ----------
  path : file or str
      File of XMLBIF data
      File of XMLBIF data
  
  string : str
      String of XMLBIF data
  
  Examples
  --------
  # xmlbif_test.xml is the file present in
  # http://www.cs.cmu.edu/~fgcozman/Research/InterchangeFormat/
  >>> from pgmpy.readwrite import XMLBIFReader
  >>> reader = XMLBIFReader("xmlbif_test.xml")
  >>> model = reader.get_model()
  
  Reference
  ---------
  [1] https://www.cs.cmu.edu/afs/cs/user/fgcozman/www/Research/InterchangeFormat/
docstr: Returns the CPD of the variables present in the network
  
  Examples
  --------
  >>> reader = XMLBIF.XMLBIFReader("xmlbif_test.xml")
  >>> reader.get_values()
  {'bowel-problem': array([[ 0.01],
                           [ 0.99]]),
   'dog-out': array([[ 0.99,  0.01,  0.97,  0.03],
                     [ 0.9 ,  0.1 ,  0.3 ,  0.7 ]]),
   'family-out': array([[ 0.15],
                        [ 0.85]]),
   'hear-bark': array([[ 0.7 ,  0.3 ],
                       [ 0.01,  0.99]]),
   'light-on': array([[ 0.6 ,  0.4 ],
                      [ 0.05,  0.95]])}
docstr_tok: ["Returns","the","CPD","of","the","variables","present","in","the","network","Examples","--","--","--","--",">",">",">","reader","=","XMLBIF.XMLBIFReader","(","``","xmlbif_test.xml","''",")",">",">",">","reader.get_values","(",")","{","'bowel-problem","'",":","array","(","[","[","0.01","]",",","[","0.99","]","]",")",",","'dog-out","'",":","array","(","[","[","0.99",",","0.01",",","0.97",",","0.03","]",",","[","0.9",",","0.1",",","0.3",",","0.7","]","]",")",",","'family-out","'",":","array","(","[","[","0.15","]",",","[","0.85","]","]",")",",","'hear-bark","'",":","array","(","[","[","0.7",",","0.3","]",",","[","0.01",",","0.99","]","]",")",",","'light-on","'",":","array","(","[","[","0.6",",","0.4","]",",","[","0.05",",","0.95","]","]",")","}"]
code: def get_values(self):
      """
      Returns the CPD of the variables present in the network
  
      Examples
      --------
      >>> reader = XMLBIF.XMLBIFReader("xmlbif_test.xml")
      >>> reader.get_values()
      {'bowel-problem': array([[ 0.01],
                               [ 0.99]]),
       'dog-out': array([[ 0.99,  0.01,  0.97,  0.03],
                         [ 0.9 ,  0.1 ,  0.3 ,  0.7 ]]),
       'family-out': array([[ 0.15],
                            [ 0.85]]),
       'hear-bark': array([[ 0.7 ,  0.3 ],
                           [ 0.01,  0.99]]),
       'light-on': array([[ 0.6 ,  0.4 ],
                          [ 0.05,  0.95]])}
      """
      variable_CPD = {
          definition.find("FOR").text: list(
              map(float, table.text.split())
          )
          for definition in self.network.findall("DEFINITION")
          for table in definition.findall("TABLE")
      }
      for variable in variable_CPD:
          arr = np.array(variable_CPD[variable])
          arr = arr.reshape(
              (
                  len(self.variable_states[variable]),
                  arr.size // len(self.variable_states[variable]),
              ),
              order="F",
          )
          variable_CPD[variable] = arr
      return variable_CPD
  
imports: import xml.etree.ElementTree
  from io import BytesIO
  from itertools import chain
  import numpy
  import pyparsing
  from pgmpy.factors.discrete import State, TabularCPD
  from pgmpy.models import BayesianNetwork
  from pgmpy.utils import compat_fns
label_desc: Use image node_id 6 for calling the XMLBIFReader obj's underlying member method code with example usage: obj.get_values() and returns: variable_CPD