:og:description: Additive noise models for nonlinear causal discovery :og:image:alt: Benchpress logo :og:sitename: Benchpress causal discovery platform :og:title: ANMNonlinear (gCastle) .. meta:: :title: ANMNonlinear (gCastle) :description: Additive noise models for nonlinear causal discovery .. _gcastle_anm: ANMNonlinear (gCastle) *********************** .. list-table:: * - Module name - `gcastle_anm `__ * - Package - `gCastle `__ * - Version - 1.0.3 * - Language - `Python `__ * - Docs - `here `__ * - Paper - :footcite:t:`hoyer2008nonlinear` * - Graph type - `DAG `__ * - MCMC - No * - Edge constraints - No * - Data type - C, D * - Data missingness - * - Intervention type - * - Docker - `bpimages/gcastle:1.0.3 `__ ANMNonlinear ---------------- Nonlinear causal discovery with additive noise models. .. rubric:: Example Config file: `gcastle_nonlinear.json `_ Command: .. code:: bash snakemake --cores all --use-apptainer --configfile config/gcastle_nonlinear.json :numref:`gcastlenonlinearplot` and :numref:`gcastlenonlinearquadplot` show the pattern graph's FP/P vs. TP/P benchmark results for gCastle algorithms, and comparison with :ref:`tetrad_boss` and :ref:`bidag_itsearch`, tested on nonlinear data. The benchmark is based on 5 datasets corresponding to 5 realisations of a 20-variable random nonlinear Gaussian SEM with Erdős-Rényi structure (expected degree 4, max parents 5). The nonlinear relationships are modeled using multi-layer perceptrons (MLP) and quadratic functions, see :ref:`gcastle_iidsim`. Each dataset contains 300 standardized samples. The SEM parameters are uniformly sampled from [0.25, 1]. .. _gcastlenonlinearplot: .. figure:: https://raw.githubusercontent.com/felixleopoldo/benchpress/master/docs/source/_static/gcastle_benchmarks_nonlinear_anm.png :width: 640 :alt: FP/P vs. TP/P for gCastle algorithms on nonlinear MLP data :align: left FP/P vs. TP/P for gCastle algorithms on nonlinear MLP data. .. _gcastlenonlinearquadplot: .. figure:: https://raw.githubusercontent.com/felixleopoldo/benchpress/master/docs/source/_static/gcastle_benchmarks_nonlinear_quadratic.png :width: 640 :alt: FP/P vs. TP/P for gCastle algorithms on nonlinear quadratic data :align: right FP/P vs. TP/P for gCastle algorithms on nonlinear quadratic data. .. rubric:: Example JSON .. code-block:: json [ { "id": "gcastle_anm", "alpha": 0.05, "timeout": null } ] .. footbibliography::