Exceptions

class pyAgrum.causal.HedgeException(msg: str, observables: Set[str], gs)

Represents an hedge exception for a causal query

Parameters:
  • msg – str
  • observables – NameSet
  • gs

    ???

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class pyAgrum.causal.UnidentifiableException(msg)

Represents an unidentifiability for a causal query

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.