class_docstr: Represents Conditional Independence or Independence assertion.
  
  Each assertion has 3 attributes: event1, event2, event3.
  The attributes for
  
  .. math:: U \perp X, Y | Z
  
  is read as: Random Variable U is independent of X and Y given Z would be:
  
  event1 = {U}
  
  event2 = {X, Y}
  
  event3 = {Z}
  
  Parameters
  ----------
  event1: String or List of strings
          Random Variable which is independent.
  
  event2: String or list of strings.
          Random Variables from which event1 is independent
  
  event3: String or list of strings.
          Random Variables given which event1 is independent of event2.
  
  Examples
  --------
  >>> from pgmpy.independencies import IndependenceAssertion
  >>> assertion = IndependenceAssertion('U', 'X')
  >>> assertion = IndependenceAssertion('U', ['X', 'Y'])
  >>> assertion = IndependenceAssertion('U', ['X', 'Y'], 'Z')
  >>> assertion = IndependenceAssertion(['U', 'V'], ['X', 'Y'], ['Z', 'A'])
  
  
  Public Methods
  --------------
  get_assertion
class_docstr_tok: ["Represents","Conditional","Independence","or","Independence","assertion",".","Each","assertion","has","3","attributes",":","event1",",","event2",",","event3",".","The","attributes","for","..","math",":",":","U","\\perp","X",",","Y","|","Z","is","read","as",":","Random","Variable","U","is","independent","of","X","and","Y","given","Z","would","be",":","event1","=","{","U","}","event2","=","{","X",",","Y","}","event3","=","{","Z","}","Parameters","--","--","--","--","--","event1",":","String","or","List","of","strings","Random","Variable","which","is","independent",".","event2",":","String","or","list","of","strings",".","Random","Variables","from","which","event1","is","independent","event3",":","String","or","list","of","strings",".","Random","Variables","given","which","event1","is","independent","of","event2",".","Examples","--","--","--","--",">",">",">","from","pgmpy.independencies","import","IndependenceAssertion",">",">",">","assertion","=","IndependenceAssertion","(","'","U","'",",","'","X","'",")",">",">",">","assertion","=","IndependenceAssertion","(","'","U","'",",","[","'","X","'",",","'","Y","'","]",")",">",">",">","assertion","=","IndependenceAssertion","(","'","U","'",",","[","'","X","'",",","'","Y","'","]",",","'","Z","'",")",">",">",">","assertion","=","IndependenceAssertion","(","[","'","U","'",",","'","V","'","]",",","[","'","X","'",",","'","Y","'","]",",","[","'","Z","'",",","'","A","'","]",")","Public","Methods","--","--","--","--","--","--","--","get_assertion"]
code: def __ne__(self, other):
      return not self.__eq__(other)
  
imports: import itertools
label_desc: Use image node_id 4 for calling the IndependenceAssertion obj's underlying member method code with example usage: obj.__ne__(other) and returns: unknown