Exceptions

class pyagrum.causal.HedgeException(msg, observables, gs)

Represents an hedge exception for a causal query

Parameters:
  • msg (str)

  • observables (NameSet)

  • gs

add_note(note, /)

Add a note to the exception

args
class pyagrum.causal.UnidentifiableException(msg)

Represents an unidentifiability for a causal query

Parameters:

msg (str)

add_note(note, /)

Add a note to the exception

args