API reference
Generated from the docstrings in the source. The public API is what the three subpackages export:
Module |
Contents |
|---|---|
|
|
|
|
DAG helpers and experiment logging. |
|
The attribution base class, the surrogate contract and Jacobian computation, and path sampling. These are useful when extending the library. |
The top-level package re-exports the three gradient methods:
import causalig
causalig.__version__
causalig.CausalIntegratedGradients # same object as causalig.attr.CausalIntegratedGradients